From: Nico Weber Date: Thu, 14 Mar 2019 14:40:48 +0000 (+0000) Subject: Fix test after r356148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee48ebcab78d8c6332dfe00a85580bd52b36592e;p=clang Fix test after r356148 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356154 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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