r240977 - Fix a test case broken by my previous commit.

Douglas Gregor dgregor at apple.com
Mon Jun 29 11:15:31 PDT 2015


Author: dgregor
Date: Mon Jun 29 13:15:31 2015
New Revision: 240977

URL: http://llvm.org/viewvc/llvm-project?rev=240977&view=rev
Log:
Fix a test case broken by my previous commit.

Modified:
    cfe/trunk/test/Parser/nullability.c

Modified: cfe/trunk/test/Parser/nullability.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/nullability.c?rev=240977&r1=240976&r2=240977&view=diff
==============================================================================
--- cfe/trunk/test/Parser/nullability.c (original)
+++ cfe/trunk/test/Parser/nullability.c Mon Jun 29 13:15:31 2015
@@ -7,8 +7,8 @@ _Nonnull int *ptr; // expected-warning{{
 _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)





More information about the cfe-commits mailing list