mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
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:
@@ -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.
|
||||
|
||||
@@ -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}}
|
||||
Reference in New Issue
Block a user