diff options
Diffstat (limited to 'meson/test cases/common/223 persubproject options/subprojects/sub2/foo.c')
-rw-r--r-- | meson/test cases/common/223 persubproject options/subprojects/sub2/foo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/223 persubproject options/subprojects/sub2/foo.c b/meson/test cases/common/223 persubproject options/subprojects/sub2/foo.c new file mode 100644 index 000000000..cf7201b92 --- /dev/null +++ b/meson/test cases/common/223 persubproject options/subprojects/sub2/foo.c @@ -0,0 +1,9 @@ +int foo(void); + +#ifdef __GNUC__ +#warning This should not produce error +#endif + +int foo(void) { + return 0; +} |