builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr29521.c
blobb6fb535fab7ed1ea8431fbd3a1eca1fa56440199
1 /* PR 29521 : warning for return with expression in function returning void */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 void func (void) { }
7 void func2 (void)
9 return func ();
12 void func3 (void)
14 return 1; /* { dg-warning "'return' with a value" } */