Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib29.C
blob710a5ce276308deed889ace82e1b4ecc7c041aa2
1 // PR c++/33506
2 // { dg-do compile }
4 extern int f1 (char *) __attribute__ ((warn_unused_result));
5 extern int f2 (char *) throw () __attribute__ ((warn_unused_result));
6 extern int f2 (char *) throw ();
8 extern int f3 (char *) __attribute__ ((nonnull (1)));
9 extern int f4 (char *) throw () __attribute__ ((nonnull (1)));
10 extern int f4 (char *) throw ();