summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-11-12 22:40:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-11-12 22:40:09 +0000
commit4b213d73d83f42982006f0d430ecf017b463035d (patch)
tree5f34f783711ad473d87fe8fa2d55d7c2e9368ac4 /clang/test/Modules
parent14679e9f683ad8c7f1e3c871fa5eca4b082ec3cf (diff)
downloadbcm5719-llvm-4b213d73d83f42982006f0d430ecf017b463035d.tar.gz
bcm5719-llvm-4b213d73d83f42982006f0d430ecf017b463035d.zip
Avoid duplicated diagnostic when lookup for a nested-name-specifier fails due to ambiguity.
llvm-svn: 252967
Diffstat (limited to 'clang/test/Modules')
-rw-r--r--clang/test/Modules/no-linkage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/no-linkage.cpp b/clang/test/Modules/no-linkage.cpp
index 508464e8dbe..0cc808b6331 100644
--- a/clang/test/Modules/no-linkage.cpp
+++ b/clang/test/Modules/no-linkage.cpp
@@ -28,7 +28,7 @@ void use_things() {
void use_things_again() {
use(Typedef().n); // expected-error {{ambiguous}}
- use(NS::n); // expected-error {{ambiguous}} expected-error{{'NS' is not a class, namespace, or enumeration}}
+ use(NS::n); // expected-error {{ambiguous}}
use(AliasDecl); // expected-error {{ambiguous}}
use(Enumerator); // expected-error {{ambiguous}}
use(UsingDecl); // expected-error {{ambiguous}}
OpenPOWER on IntegriCloud