diff options
Diffstat (limited to 'test/Lexer/has_feature_c1x.c')
-rw-r--r-- | test/Lexer/has_feature_c1x.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Lexer/has_feature_c1x.c b/test/Lexer/has_feature_c1x.c index ca4e9b95ad..a502f16ce3 100644 --- a/test/Lexer/has_feature_c1x.c +++ b/test/Lexer/has_feature_c1x.c @@ -27,3 +27,12 @@ int no_alignas(); // CHECK-1X: has_alignas // CHECK-NO-1X: no_alignas + +#if __STDC_VERSION__ > 199901L +int is_c1x(); +#else +int is_not_c1x(); +#endif + +// CHECK-1X: is_c1x +// CHECK-NO-1X: is_not_c1x |