aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/using-decl-templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/using-decl-templates.cpp')
-rw-r--r--test/SemaCXX/using-decl-templates.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/using-decl-templates.cpp b/test/SemaCXX/using-decl-templates.cpp
index 63fa4610cb..a19223d479 100644
--- a/test/SemaCXX/using-decl-templates.cpp
+++ b/test/SemaCXX/using-decl-templates.cpp
@@ -10,7 +10,7 @@ template<typename T> struct B : A<T> {
using A<T>::N; // expected-error{{dependent using declaration resolved to type without 'typename'}}
using A<T>::foo; // expected-error{{no member named 'foo'}}
- using A<double>::f; // expected-error{{using declaration refers into 'A<double>::', which is not a base class of 'B'}}
+ using A<double>::f; // expected-error{{using declaration refers into 'A<double>::', which is not a base class of 'B<int>'}}
};
B<int> a; // expected-note{{in instantiation of template class 'struct B<int>' requested here}}