diff options
| author | Douglas Gregor <dgregor@apple.com> | 2015-06-29 18:15:31 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2015-06-29 18:15:31 +0000 |
| commit | 55c4ef3e5a48db74b72b069628d64c26d0a8978e (patch) | |
| tree | e4084f60755dc9e1f000a1a6a4696d03789ff3eb | |
| parent | 4c27d104c65d0cc98d6c4c38eb6ce1ed633a5204 (diff) | |
| download | bcm5719-llvm-55c4ef3e5a48db74b72b069628d64c26d0a8978e.tar.gz bcm5719-llvm-55c4ef3e5a48db74b72b069628d64c26d0a8978e.zip | |
Fix a test case broken by my previous commit.
llvm-svn: 240977
| -rw-r--r-- | clang/test/Parser/nullability.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Parser/nullability.c b/clang/test/Parser/nullability.c index f500e79d7d1..7117bce4bb7 100644 --- a/clang/test/Parser/nullability.c +++ b/clang/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) |

