From d7279c4c177bca357ef96ff1379fd9bc420bfe83 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Thu, 27 May 2010 15:17:06 +0000 Subject: Update clang to r104832. --- test/CXX/temp/temp.spec/temp.explicit/p2.cpp | 4 ++-- test/CXX/temp/temp.spec/temp.explicit/p5.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test/CXX/temp/temp.spec') diff --git a/test/CXX/temp/temp.spec/temp.explicit/p2.cpp b/test/CXX/temp/temp.spec/temp.explicit/p2.cpp index 8538d27f09bcb..0da316cc9cef4 100644 --- a/test/CXX/temp/temp.spec/temp.explicit/p2.cpp +++ b/test/CXX/temp/temp.spec/temp.explicit/p2.cpp @@ -39,5 +39,5 @@ namespace N { } using namespace N; -template struct X1; // expected-error{{must occur in}} -template void f1(int); // expected-error{{must occur in}} +template struct X1; // expected-warning{{must occur in}} +template void f1(int); // expected-warning{{must occur in}} diff --git a/test/CXX/temp/temp.spec/temp.explicit/p5.cpp b/test/CXX/temp/temp.spec/temp.explicit/p5.cpp index 13fb0492f1a47..7522d02ffa19b 100644 --- a/test/CXX/temp/temp.spec/temp.explicit/p5.cpp +++ b/test/CXX/temp/temp.spec/temp.explicit/p5.cpp @@ -11,7 +11,7 @@ template class Z; // expected-error{{explicit instantiation of non-template // FIXME: This example from the standard is wrong; note posted to CWG reflector // on 10/27/2009 using N::Y; -template class Y; // expected-error{{must occur in}} +template class Y; // expected-warning{{must occur in}} template class N::Y; template void N::Y::mf(); -- cgit v1.2.3