]> granicus.if.org Git - clang/commitdiff
Fix test after r356148
authorNico Weber <nicolasweber@gmx.de>
Thu, 14 Mar 2019 14:40:48 +0000 (14:40 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 14 Mar 2019 14:40:48 +0000 (14:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356154 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/objc-static-assert.mm

index 510340cde4b36230abbab808936ed6e984e4a286..125dd4856a5e356d54bebc53c3b47a4daf0d671f 100644 (file)
@@ -1,7 +1,10 @@
 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
 // RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify -Wno-objc-root-class %s
 
-#if !__has_feature(objc_c_static_assert)
+#if __has_feature(objc_c_static_assert)
+#error failed
+#endif
+#if !__has_extension(objc_c_static_assert)
 #error failed
 #endif