aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/flexible-array-init.c
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-02-07 19:52:04 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-02-07 19:52:04 +0000
commit3cb069213c8502dbb7a67860d40122d869ed8fd6 (patch)
tree1c0af540b50bee10d56de5da09e7b8177306bbe9 /test/Sema/flexible-array-init.c
parent72cac2ccce8058833f56358e3391e28a8ddeeaa4 (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/flexible-array-init.c')
-rw-r--r--test/Sema/flexible-array-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/flexible-array-init.c b/test/Sema/flexible-array-init.c
index 9ef6eb3bc0..99ef66abe9 100644
--- a/test/Sema/flexible-array-init.c
+++ b/test/Sema/flexible-array-init.c
@@ -12,7 +12,7 @@ void test() {
struct foo {
int x;
- int y[]; // expected-note{{initialized flexible array member 'y' is here}}
+ int y[]; // expected-note 3 {{initialized flexible array member 'y' is here}}
};
struct bar { struct foo z; };