]> granicus.if.org Git - clang/commitdiff
Fix test.
authorAnders Carlsson <andersca@mac.com>
Tue, 6 Oct 2009 18:12:12 +0000 (18:12 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 6 Oct 2009 18:12:12 +0000 (18:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83398 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/virtual-function-calls.cpp

index 40028596381668dd656f4c7906c7735adec2099a..e3a19a34a1695a87d094c1c56cf96f35c6549ad4 100644 (file)
@@ -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);