From 3f1b5d077b7e68c0c801a56f17b05dab96f7f992 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 5 May 2011 21:57:07 +0000 Subject: Implement support for C++0x alias templates. llvm-svn: 130953 --- clang/test/Lexer/has_feature_cxx0x.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'clang/test/Lexer/has_feature_cxx0x.cpp') diff --git a/clang/test/Lexer/has_feature_cxx0x.cpp b/clang/test/Lexer/has_feature_cxx0x.cpp index 57949e30177..57354f866ec 100644 --- a/clang/test/Lexer/has_feature_cxx0x.cpp +++ b/clang/test/Lexer/has_feature_cxx0x.cpp @@ -155,3 +155,12 @@ int no_override_control(); // CHECK-0X: has_override_control // CHECK-NO-0X: no_override_control + +#if __has_feature(cxx_alias_templates) +int has_alias_templates(); +#else +int no_alias_templates(); +#endif + +// CHECK-0X: has_alias_templates +// CHECK-NO-0X: no_alias_templates -- cgit v1.2.3