From 2175b6a7676c8458f6e5c72e0380a0dbcb18893c Mon Sep 17 00:00:00 2001 From: Sebastian Redl Date: Sat, 7 Feb 2009 19:52:04 +0000 Subject: Make one expected-diag directive match exactly one actual diagnostic. This uncovers some bugs, so several test cases now fail. llvm-svn: 64025 --- clang/test/Sema/pointer-addition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Sema/pointer-addition.c') diff --git a/clang/test/Sema/pointer-addition.c b/clang/test/Sema/pointer-addition.c index 81a1dc06c1f..3a924b00825 100644 --- a/clang/test/Sema/pointer-addition.c +++ b/clang/test/Sema/pointer-addition.c @@ -1,6 +1,6 @@ // RUN: clang %s -fsyntax-only -verify -pedantic -typedef struct S S; // expected-note{{forward declaration of 'struct S'}} +typedef struct S S; // expected-note 3 {{forward declaration of 'struct S'}} void a(S* b, void* c) { void (*fp)(int) = 0; b++; // expected-error {{arithmetic on pointer to incomplete type}} -- cgit v1.2.3