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) _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits