diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-11-12 22:40:09 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-11-12 22:40:09 +0000 |
| commit | 4b213d73d83f42982006f0d430ecf017b463035d (patch) | |
| tree | 5f34f783711ad473d87fe8fa2d55d7c2e9368ac4 /clang/test/Modules | |
| parent | 14679e9f683ad8c7f1e3c871fa5eca4b082ec3cf (diff) | |
| download | bcm5719-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.cpp | 2 |
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}} |

