diff --git a/clang/test/Sema/c89-2.c b/clang/test/Sema/c89-2.c index 723bd7c18d88..3b546404a984 100644 --- a/clang/test/Sema/c89-2.c +++ b/clang/test/Sema/c89-2.c @@ -1,7 +1,5 @@ -/* RUN: not clang-cc %s -std=c89 -pedantic-errors +/* RUN: clang-cc %s -std=c89 -pedantic-errors -verify */ -/* We can't put expected-warning lines on #if lines. */ - -#if 1LL /* expected-warning {{long long}} */ +#if 1LL /* expected-error {{long long}} */ #endif