summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/array-bound-merge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/array-bound-merge.cpp')
-rw-r--r--test/SemaCXX/array-bound-merge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/array-bound-merge.cpp b/test/SemaCXX/array-bound-merge.cpp
index c6085fb..a360d00 100644
--- a/test/SemaCXX/array-bound-merge.cpp
+++ b/test/SemaCXX/array-bound-merge.cpp
@@ -10,5 +10,5 @@ int c[] = {1,2}; // expected-error {{excess elements in array initializer}}
int d[1][]; // expected-error {{array has incomplete element type 'int []'}}
-extern const int e[2]; // expected-note {{previous definition is here}}
+extern const int e[2]; // expected-note {{previous declaration is here}}
int e[] = { 1 }; // expected-error {{redefinition of 'e' with a different type: 'int []' vs 'const int [2]'}}
OpenPOWER on IntegriCloud