[cfe-commits] r83398 - /cfe/trunk/test/CodeGenCXX/virtual-function-calls.cpp

Anders Carlsson andersca at mac.com
Tue Oct 6 11:12:12 PDT 2009


Author: andersca
Date: Tue Oct  6 13:12:12 2009
New Revision: 83398

URL: http://llvm.org/viewvc/llvm-project?rev=83398&view=rev
Log:
Fix test.

Modified:
    cfe/trunk/test/CodeGenCXX/virtual-function-calls.cpp

Modified: cfe/trunk/test/CodeGenCXX/virtual-function-calls.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virtual-function-calls.cpp?rev=83398&r1=83397&r2=83398&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/virtual-function-calls.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virtual-function-calls.cpp Tue Oct  6 13:12:12 2009
@@ -1,11 +1,5 @@
-// PR5021
-struct A {
-  virtual void f(char);
-};
+// RUN: clang-cc -emit-llvm-only %s
 
-void f(A *a) {
-  a->f('c');
-}
 // PR5021
 struct A {
   virtual void f(char);





More information about the cfe-commits mailing list