From: Douglas Gregor Date: Mon, 29 Jun 2015 18:15:31 +0000 (+0000) Subject: Fix a test case broken by my previous commit. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b79d3efea5f31ee74a5960522b0552fc9b43dc43;p=clang Fix a test case broken by my previous commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240977 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/nullability.c b/test/Parser/nullability.c index f500e79d7d..7117bce4bb 100644 --- a/test/Parser/nullability.c +++ b/test/Parser/nullability.c @@ -7,8 +7,8 @@ _Nonnull int *ptr; // expected-warning{{type nullability specifier '_Nonnull' is _Nonnull int *ptr2; // no-warning #pragma clang diagnostic pop -#if __has_feature(nullability) -# error Nullability should not be supported in C under -pedantic -std=c99 +#if !__has_feature(nullability) +# error Nullability should always be supported #endif #if !__has_extension(nullability)