]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/alignof3.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / alignof3.C
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-pedantic" }
3 int main(void)
4 {
5 alignof(void (void)); // { dg-warning "3:ISO C\\+\\+ does not permit .alignof. applied to a function type" }
6 }
This page took 0.038994 seconds and 5 git commands to generate.