From: Eli Friedman Date: Sat, 15 Aug 2009 03:40:49 +0000 (+0000) Subject: Make test more precise. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf030d7515b3e2ddf0b3c98734fc7cb3ad819de1;p=clang Make test more precise. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79074 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/c89-2.c b/test/Sema/c89-2.c index 723bd7c18d..3b546404a9 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