blob: d571d9d77dc66d51ea11a21223acbae4ce20f74a [file] [log] [blame]
// { dg-do compile { target c++11 } }
// { dg-options "-pedantic" }
int main(void)
{
alignof(int); //ok with a type but not with an expression
alignof(3); // { dg-warning "alignof" }
}