summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/instantiation-depth-subst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/instantiation-depth-subst.cpp')
-rw-r--r--test/SemaTemplate/instantiation-depth-subst.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaTemplate/instantiation-depth-subst.cpp b/test/SemaTemplate/instantiation-depth-subst.cpp
index 06795f9514d3..2a3e422ac7af 100644
--- a/test/SemaTemplate/instantiation-depth-subst.cpp
+++ b/test/SemaTemplate/instantiation-depth-subst.cpp
@@ -3,7 +3,7 @@
// PR9793
template<typename T> auto f(T t) -> decltype(f(t)); // \
// expected-error {{recursive template instantiation exceeded maximum depth of 2}} \
-// expected-note 3 {{while substituting}}
+// expected-note 2 {{while substituting}}
struct S {};
-int k = f(S{});
+int k = f(S{}); // expected-note {{while substituting}}