builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / wmain.c
blob06fc26fd398127f594afd5000f5f2bbb82402c23
1 /* { dg-do compile } */
2 /* { dg-options "-Wall" } */
4 int main; /* { dg-warning "'main' is usually a function" } */
6 int foo()
8 int main = 1; /* { dg-bogus "'main' is usually a function" } */
9 return main;