diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-09 08:41:27 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-03-09 08:41:27 +0000 |
| commit | 5023188315e2cf5091c74cf0d3eec6d358337152 (patch) | |
| tree | 5c03afb49756996b8633711efa3f3537b91872a1 /clang/test/Lexer/has_feature_cxx0x.cpp | |
| parent | c1b0565a26a4d578f19d0c99253926a255c78573 (diff) | |
| download | bcm5719-llvm-5023188315e2cf5091c74cf0d3eec6d358337152.tar.gz bcm5719-llvm-5023188315e2cf5091c74cf0d3eec6d358337152.zip | |
User-defined literals are done.
llvm-svn: 152396
Diffstat (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp')
| -rw-r--r-- | clang/test/Lexer/has_feature_cxx0x.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp index 40d651dff53..1c045664ce6 100644 --- a/clang/test/Lexer/has_feature_cxx0x.cpp +++ b/clang/test/Lexer/has_feature_cxx0x.cpp @@ -244,3 +244,12 @@ int no_unrestricted_unions(); // CHECK-0X: has_unrestricted_unions // CHECK-NO-0X: no_unrestricted_unions + +#if __has_feature(cxx_user_literals) +int has_user_literals(); +#else +int no_user_literals(); +#endif + +// CHECK-0X: has_user_literals +// CHECK-NO-0X: no_user_literals |

