diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-13 04:07:40 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-13 04:07:40 +0000 |
| commit | 822698412b63ad76242a4a3db6403212b56c9b23 (patch) | |
| tree | 31febf1aebe112be667208134a275385a6fa5cb7 /clang/test/SemaCXX/qual-id-test.cpp | |
| parent | e83c731cad3009ba20d0d0d990789ab5de38d192 (diff) | |
| download | bcm5719-llvm-822698412b63ad76242a4a3db6403212b56c9b23.tar.gz bcm5719-llvm-822698412b63ad76242a4a3db6403212b56c9b23.zip | |
PR12500: Improve the wording of the diagnostic for a redefinition of a name
in the wrong namespace scope. Patch by Jonathan Sauer!
llvm-svn: 154656
Diffstat (limited to 'clang/test/SemaCXX/qual-id-test.cpp')
| -rw-r--r-- | clang/test/SemaCXX/qual-id-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/qual-id-test.cpp b/clang/test/SemaCXX/qual-id-test.cpp index e43e6887c47..9994d75cac1 100644 --- a/clang/test/SemaCXX/qual-id-test.cpp +++ b/clang/test/SemaCXX/qual-id-test.cpp @@ -144,6 +144,6 @@ namespace PR6645 { typedef int foo; namespace Inner { typedef int PR6645::foo; // expected-error{{typedef declarator cannot be qualified}} \ - // expected-error{{definition or redeclaration of 'foo' not in a namespace enclosing 'PR6645'}} + // expected-error{{cannot define or redeclare 'foo' here because namespace 'Inner' does not enclose namespace 'PR6645'}} } } |

