diff options
Diffstat (limited to 'test/Sema/tentative-decls.c')
-rw-r--r-- | test/Sema/tentative-decls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/tentative-decls.c b/test/Sema/tentative-decls.c index bf2b1e4ee6a5..602624229d73 100644 --- a/test/Sema/tentative-decls.c +++ b/test/Sema/tentative-decls.c @@ -23,7 +23,7 @@ int i1 = 1; // expected-note {{previous definition is here}} int i1 = 2; // expected-error {{redefinition of 'i1'}} int i1; int i1; -extern int i5; // expected-note {{previous definition is here}} +extern int i5; // expected-note {{previous declaration is here}} static int i5; // expected-error{{static declaration of 'i5' follows non-static declaration}} static int i2 = 5; // expected-note 1 {{previous definition is here}} @@ -49,7 +49,7 @@ int redef[]; // expected-note {{previous definition is here}} int redef[11]; // expected-error{{redefinition of 'redef'}} void func() { - extern int i6; // expected-note {{previous definition is here}} + extern int i6; // expected-note {{previous declaration is here}} static int i6; // expected-error{{static declaration of 'i6' follows non-static declaration}} } |