diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-03-14 14:40:48 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-03-14 14:40:48 +0000 |
commit | ee48ebcab78d8c6332dfe00a85580bd52b36592e (patch) | |
tree | dc116b6c7a36c633742e6dda50867acd3f76bf6e | |
parent | 16aa52b2b5f201612de2ecb41a63cbb254de9b42 (diff) |
Fix test after r356148
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356154 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Parser/objc-static-assert.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Parser/objc-static-assert.mm b/test/Parser/objc-static-assert.mm index 510340cde4..125dd4856a 100644 --- a/test/Parser/objc-static-assert.mm +++ b/test/Parser/objc-static-assert.mm @@ -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 |