aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-11-13 18:53:35 +0000
committerMike Stump <mrs@apple.com>2009-11-13 18:53:35 +0000
commita660440263ceb3a2502f5dbd48b4e166544ed9fe (patch)
tree67fe01e1430de4bf33e2bf5975e84c3fdb5cf078 /test
parenta85ce8a9cb14e4947074879ef42c33e8ac636266 (diff)
This falls into the category of stupid pet tricks. I hate to do this,
but this is necessary to continue work on virtual vtables. We don't want to penalize virtual table building testcases, just because complex virtual conversions don't yet work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGenCXX/virt.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/CodeGenCXX/virt.cpp b/test/CodeGenCXX/virt.cpp
index 424f9095d7..eaab159204 100644
--- a/test/CodeGenCXX/virt.cpp
+++ b/test/CodeGenCXX/virt.cpp
@@ -4,8 +4,6 @@
// RUN: clang-cc -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
// RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s
-// XFAIL: *
-
struct B {
virtual void bar1();
virtual void bar2();
@@ -709,7 +707,7 @@ void test16_D::bar() { }
// CHECK-LPLL64: ret %class.test8_D* %10
// CHECK-LPLL64:}
-// CHECK-LPLL64:define weak %class.test8_D* @_ZTch0_v16_n32_N8test16_D4foo1Ev36(%class.test8_D*) {
+// CHECK-LPLL64:define weak %class.test8_D* @_ZTch0_v16_n32_N8test16_D4foo1Ev(%class.test8_D*) {
// CHECK-LPLL64:entry:
// CHECK-LPLL64: %retval = alloca %class.test8_D*
// CHECK-LPLL64: %.addr = alloca %class.test8_D*
@@ -912,10 +910,10 @@ class test20_D : public test20_B, public test20_B1 {
class test21_V {
- virtual void foo();
+ virtual void foo() { }
};
class test21_V1 {
- virtual void foo();
+ virtual void foo() { }
};
class test21_B : virtual test21_V {
};