Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / alignof3.C
blobfa373ec3f09dabd3037bfc3220ce03204858ca45
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-pedantic" }
3 int main(void)
5   alignof(void (void));   // { dg-warning "3:ISO C\\+\\+ does not permit .alignof. applied to a function type" }