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 6c0fb212cce3..ca4e9b95ad04 100644 --- a/test/Lexer/has_feature_c1x.c +++ b/test/Lexer/has_feature_c1x.c @@ -18,3 +18,12 @@ int no_generic_selections(); // CHECK-1X: has_generic_selections // CHECK-NO-1X: no_generic_selections + +#if __has_feature(c_alignas) +int has_alignas(); +#else +int no_alignas(); +#endif + +// CHECK-1X: has_alignas +// CHECK-NO-1X: no_alignas |