summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp')
-rw-r--r--clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp b/clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp
index 83f83951395..40bcf45bca3 100644
--- a/clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp
+++ b/clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp
@@ -70,7 +70,7 @@ namespace llvm {
struct S {};
void bar() {
GraphWriter<S> x; //expected-error{{no template named 'GraphWriter'; did you mean 'llvm::GraphWriter'?}}
- (void)new llvm::GraphWriter; // expected-error {{use of class template llvm::GraphWriter requires template arguments}}
+ (void)new llvm::GraphWriter; // expected-error {{use of class template 'llvm::GraphWriter' requires template arguments}}
(void)new llvm::Graphwriter<S>; // expected-error {{no template named 'Graphwriter' in namespace 'llvm'; did you mean 'GraphWriter'?}}
}
OpenPOWER on IntegriCloud