From ee48ebcab78d8c6332dfe00a85580bd52b36592e Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 14 Mar 2019 14:40:48 +0000 Subject: [PATCH] Fix test after r356148 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356154 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Parser/objc-static-assert.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.40.0