1 // { dg-do compile { target c++11 } }
2 // { dg-options "-pedantic" }
main(void)3 int main(void)
4 {
5   alignof(int); //ok with a type but not with an expression
6   alignof(3);   // { dg-warning "alignof" }
7 }
8