[cfe-commits] r98154 - in /cfe/trunk/test: CodeGenCXX/PR6474.cpp SemaCXX/PR6474.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Mar 10 06:01:14 PST 2010
Author: rafael
Date: Wed Mar 10 08:01:14 2010
New Revision: 98154
URL: http://llvm.org/viewvc/llvm-project?rev=98154&view=rev
Log:
Move test and also test codegen.
Added:
cfe/trunk/test/CodeGenCXX/PR6474.cpp
- copied, changed from r98153, cfe/trunk/test/SemaCXX/PR6474.cpp
Removed:
cfe/trunk/test/SemaCXX/PR6474.cpp
Copied: cfe/trunk/test/CodeGenCXX/PR6474.cpp (from r98153, cfe/trunk/test/SemaCXX/PR6474.cpp)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/PR6474.cpp?p2=cfe/trunk/test/CodeGenCXX/PR6474.cpp&p1=cfe/trunk/test/SemaCXX/PR6474.cpp&r1=98153&r2=98154&rev=98154&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/PR6474.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/PR6474.cpp Wed Mar 10 08:01:14 2010
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -fsyntax-only -std=c++0x
+// RUN: %clang_cc1 %s -emit-llvm
namespace test0 {
template <typename T> struct X {
Removed: cfe/trunk/test/SemaCXX/PR6474.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/PR6474.cpp?rev=98153&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/PR6474.cpp (original)
+++ cfe/trunk/test/SemaCXX/PR6474.cpp (removed)
@@ -1,31 +0,0 @@
-// RUN: %clang_cc1 %s -fsyntax-only -std=c++0x
-
-namespace test0 {
-template <typename T> struct X {
- virtual void foo();
- virtual void bar();
- virtual void baz();
-};
-
-template <typename T> void X<T>::foo() {}
-template <typename T> void X<T>::bar() {}
-template <typename T> void X<T>::baz() {}
-
-template <> void X<char>::foo() {}
-template <> void X<char>::bar() {}
-}
-
-namespace test1 {
-template <typename T> struct X {
- virtual void foo();
- virtual void bar();
- virtual void baz();
-};
-
-template <typename T> void X<T>::foo() {}
-template <typename T> void X<T>::bar() {}
-template <typename T> void X<T>::baz() {}
-
-template <> void X<char>::bar() {}
-template <> void X<char>::foo() {}
-}
More information about the cfe-commits
mailing list