diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-02-07 19:52:04 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2009-02-07 19:52:04 +0000 |
commit | 3cb069213c8502dbb7a67860d40122d869ed8fd6 (patch) | |
tree | 1c0af540b50bee10d56de5da09e7b8177306bbe9 /test/Sema/array-constraint.c | |
parent | 72cac2ccce8058833f56358e3391e28a8ddeeaa4 (diff) |
Make one expected-diag directive match exactly one actual diagnostic.
This uncovers some bugs, so several test cases now fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-constraint.c')
-rw-r--r-- | test/Sema/array-constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index 69475b76f6..d35b0acdfe 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c @@ -1,6 +1,6 @@ // RUN: clang -fsyntax-only -verify -pedantic %s -struct s; // expected-note {{forward declaration of 'struct s'}} +struct s; // expected-note 2 {{forward declaration of 'struct s'}} struct s* t (struct s z[]) { // expected-error {{array has incomplete element type}} return z; } |