summaryrefslogtreecommitdiff
path: root/test/CXX/temp/temp.deduct.guide/p3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/temp/temp.deduct.guide/p3.cpp')
-rw-r--r--test/CXX/temp/temp.deduct.guide/p3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/temp/temp.deduct.guide/p3.cpp b/test/CXX/temp/temp.deduct.guide/p3.cpp
index e12f7b6ef255e..07d1be0593f42 100644
--- a/test/CXX/temp/temp.deduct.guide/p3.cpp
+++ b/test/CXX/temp/temp.deduct.guide/p3.cpp
@@ -65,8 +65,8 @@ namespace WrongScope {
};
template<typename T> struct Local {};
void f() {
- Local(int) -> Local<int>; // expected-error 2{{expected}} expected-note {{to match}}
+ Local(int) -> Local<int>; // expected-error {{expected}}
using WrongScope::Local;
- Local(int) -> Local<int>; // expected-error 2{{expected}} expected-note {{to match}}
+ Local(int) -> Local<int>; // expected-error {{expected}}
}
}