diff options
author | Mike Stump <mrs@apple.com> | 2009-08-05 22:48:36 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-08-05 22:48:36 +0000 |
commit | 26899b0cac15372ef76486e26769351c2cbb98d0 (patch) | |
tree | 103ec535ff4b9fb1645f25565ee46e4edce47267 | |
parent | 6f376336138ea719e3c4757ae046a5768043b276 (diff) |
Add another test for a recent checkin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78253 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/virt.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGenCXX/virt.cpp b/test/CodeGenCXX/virt.cpp index 7a43026f82..55c9b5d923 100644 --- a/test/CodeGenCXX/virt.cpp +++ b/test/CodeGenCXX/virt.cpp @@ -31,8 +31,21 @@ void A::foo2() { } int main() { A a; + B b; } +// CHECK-LP64: __ZTV1B: +// CHECK-LP64: .space 8 +// CHECK-LP64: .space 8 +// CHECK-LP64: .quad __ZN1B4bar1Ev +// CHECK-LP64: .quad __ZN1B4bar2Ev + +// CHECK-LP32: __ZTV1B: +// CHECK-LP32: .space 4 +// CHECK-LP32: .space 4 +// CHECK-LP32: .long __ZN1B4bar1Ev +// CHECK-LP32: .long __ZN1B4bar2Ev + // CHECK-LP64: __ZTV1A: // CHECK-LP64: .space 8 // CHECK-LP64: .space 8 |