From 27c39af73c0d7d0b97e57b3a905040d4cefc9708 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Wed, 10 Mar 2010 17:45:58 +0000 Subject: Update clang to r98164. --- test/SemaTemplate/metafun-apply.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/SemaTemplate/metafun-apply.cpp') diff --git a/test/SemaTemplate/metafun-apply.cpp b/test/SemaTemplate/metafun-apply.cpp index bb3c88a..3a7408e 100644 --- a/test/SemaTemplate/metafun-apply.cpp +++ b/test/SemaTemplate/metafun-apply.cpp @@ -22,7 +22,7 @@ struct bogus { template struct apply1 { - typedef typename MetaFun::template apply::type type; // expected-note{{in instantiation of template class 'struct add_reference::apply' requested here}} \ + typedef typename MetaFun::template apply::type type; // expected-note{{in instantiation of template class 'add_reference::apply' requested here}} \ // expected-error{{'apply' following the 'template' keyword does not refer to a template}} }; @@ -32,9 +32,9 @@ apply1::type ir = i; apply1::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'int'}} void test() { - apply1::type t; // expected-note{{in instantiation of template class 'struct apply1' requested here}} + apply1::type t; // expected-note{{in instantiation of template class 'apply1' requested here}} - apply1::type t2; // expected-note{{in instantiation of template class 'struct apply1' requested here}} + apply1::type t2; // expected-note{{in instantiation of template class 'apply1' requested here}} } -- cgit v1.1