[cfe-commits] r80672 - in /cfe/trunk/test: CodeGenCXX/overload-binop-implicitconvert.cpp SemaCXX/overload-binop-implicitconvert.cpp
Douglas Gregor
dgregor at apple.com
Tue Sep 1 08:39:06 PDT 2009
Author: dgregor
Date: Tue Sep 1 10:39:05 2009
New Revision: 80672
URL: http://llvm.org/viewvc/llvm-project?rev=80672&view=rev
Log:
Move C++ test over to CodeGenCXX, since it requires CodeGen to reproduce
Added:
cfe/trunk/test/CodeGenCXX/overload-binop-implicitconvert.cpp
- copied unchanged from r80670, cfe/trunk/test/SemaCXX/overload-binop-implicitconvert.cpp
Removed:
cfe/trunk/test/SemaCXX/overload-binop-implicitconvert.cpp
Removed: cfe/trunk/test/SemaCXX/overload-binop-implicitconvert.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/overload-binop-implicitconvert.cpp?rev=80671&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/overload-binop-implicitconvert.cpp (original)
+++ cfe/trunk/test/SemaCXX/overload-binop-implicitconvert.cpp (removed)
@@ -1,22 +0,0 @@
-// RUN: clang-cc %s -emit-llvm-only
-class T
-{};
-
-void print(const char *t);
-
-T& operator<< (T& t,const char* c)
-{
- print(c);
- return t;
-}
-
-
-int main()
-{
- T t;
- print("foo");
- t<<"foo";
-
- return 0;
-}
-
More information about the cfe-commits
mailing list