diff options
Diffstat (limited to 'Tests/RunCMake/try_compile/CStandardGNU.c')
-rw-r--r-- | Tests/RunCMake/try_compile/CStandardGNU.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/CStandardGNU.c b/Tests/RunCMake/try_compile/CStandardGNU.c new file mode 100644 index 0000000..ac26c15 --- /dev/null +++ b/Tests/RunCMake/try_compile/CStandardGNU.c @@ -0,0 +1,10 @@ +#if __STDC_VERSION__ != 199901L +#error "Not GNU C 99 mode!" +#endif +#ifndef __STRICT_ANSI__ +#error "Not GNU C strict ANSI!" +#endif +int main(void) +{ + return 0; +} |