diff options
Diffstat (limited to 'test/Lexer/has_feature_cxx0x.cpp')
-rw-r--r-- | test/Lexer/has_feature_cxx0x.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Lexer/has_feature_cxx0x.cpp b/test/Lexer/has_feature_cxx0x.cpp index 5813562de7..f2b4576b57 100644 --- a/test/Lexer/has_feature_cxx0x.cpp +++ b/test/Lexer/has_feature_cxx0x.cpp @@ -173,3 +173,12 @@ int no_implicit_moves(); // CHECK-0X: has_implicit_moves // CHECK-NO-0X: no_implicit_moves + +#if __has_feature(cxx_alignas) +int has_alignas(); +#else +int no_alignas(); +#endif + +// CHECK-0X: has_alignas +// CHECK-NO-0X: no_alignas |