From b360412582b21c01914899bb848b62d6f17764c5 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Sat, 15 Aug 2009 03:40:49 +0000 Subject: [PATCH] Make test more precise. llvm-svn: 79074 --- clang/test/Sema/c89-2.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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