]> granicus.if.org Git - clang/commitdiff
Fix a test case broken by my previous commit.
authorDouglas Gregor <dgregor@apple.com>
Mon, 29 Jun 2015 18:15:31 +0000 (18:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 29 Jun 2015 18:15:31 +0000 (18:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240977 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/nullability.c

index f500e79d7d125919c5ad31b56d7b47f19f0198e3..7117bce4bb7477a3119ed32d2067a53e9cc9d1d5 100644 (file)
@@ -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)