summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/derived.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-08-21 20:43:52 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-08-21 20:43:52 +0000
commit1f15fd489eeefedf68641dfa2722d17bc955cdda (patch)
treea3a8f1bd44bebe42637ce886b2f740f7969daf79 /clang/test/SemaTemplate/derived.cpp
parent745f2eddef350e152e66b6f5d647b75c37006e16 (diff)
downloadbcm5719-llvm-1f15fd489eeefedf68641dfa2722d17bc955cdda.tar.gz
bcm5719-llvm-1f15fd489eeefedf68641dfa2722d17bc955cdda.zip
Fix grammatical error in diagnostic.
llvm-svn: 216221
Diffstat (limited to 'clang/test/SemaTemplate/derived.cpp')
-rw-r--r--clang/test/SemaTemplate/derived.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaTemplate/derived.cpp b/clang/test/SemaTemplate/derived.cpp
index ce20cea7dcc..cbd004cf619 100644
--- a/clang/test/SemaTemplate/derived.cpp
+++ b/clang/test/SemaTemplate/derived.cpp
@@ -4,8 +4,8 @@
template<typename T> class vector2 {};
template<typename T> class vector : vector2<T> {};
-template<typename T> void Foo2(vector2<const T*> V) {} // expected-note{{candidate template ignored: can't deduce a type for 'T' which would make 'const T' equal 'int'}}
-template<typename T> void Foo(vector<const T*> V) {} // expected-note {{candidate template ignored: can't deduce a type for 'T' which would make 'const T' equal 'int'}}
+template<typename T> void Foo2(vector2<const T*> V) {} // expected-note{{candidate template ignored: can't deduce a type for 'T' that would make 'const T' equal 'int'}}
+template<typename T> void Foo(vector<const T*> V) {} // expected-note {{candidate template ignored: can't deduce a type for 'T' that would make 'const T' equal 'int'}}
void test() {
Foo2(vector2<int*>()); // expected-error{{no matching function for call to 'Foo2'}}
OpenPOWER on IntegriCloud