FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / sizeof3.C
blobe6972ca397eaa0e7ea7eb51bac97b621b2bbf14e
1 // Build don't link: 
2 // Special g++ Options: -pedantic-errors
3 // GROUPS passed sizeof
4 // ARM $5.3.2
6 class bar;
8 int
9 main()
11   // sizeof may not be applied to an undefined class
12   int k = sizeof (bar);// ERROR - .*
14   return 0;