Rename test.cc files to test.cpp.

The lit.cfg files only add .cpp to suffixes, so these tests used to never run,
oops.  (Also tweak to of these tests in minor ways to make the actually pass.)

llvm-svn: 224718
This commit is contained in:
Nico Weber
2014-12-22 18:13:07 +00:00
parent 84f89ccd45
commit 08ef80f4b8
6 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem Inputs -emit-llvm-only %s
// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem %S/Inputs -emit-llvm-only %s
// This used to cause a read past the end of a global variable.

View File

@@ -41,7 +41,7 @@ namespace PR9325 {
void f()
{
Target<int*>* traits = &Provider<int*>::Instance;
Target<int*>* traits = &Provider<int*>::Instance; // expected-note{{requested here}}
}
}
@@ -60,7 +60,7 @@ namespace PR10020 {
};
template <typename Type>
GMG<Type> GMG<Type>::singleton;
GMG<Type> GMG<Type>::singleton; // expected-note{{requested here}}
void test(void) {
GMG<int>::Method(); // expected-note{{in instantiation of}}