aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/c89-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/c89-2.c')
-rw-r--r--test/Sema/c89-2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Sema/c89-2.c b/test/Sema/c89-2.c
index 723bd7c18d88..50c5f4e5a840 100644
--- a/test/Sema/c89-2.c
+++ b/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