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 | 6d368129c5ec9ecc48525acf244f793f2e37b41f (patch) | |
| tree | 801f5d07c09df6e90cc9fe0256f23e1a91c2e831 /clang | |
| parent | d8fe7b2792b14a61749658d35e924c0811d395a9 (diff) | |
| download | bcm5719-llvm-6d368129c5ec9ecc48525acf244f793f2e37b41f.tar.gz bcm5719-llvm-6d368129c5ec9ecc48525acf244f793f2e37b41f.zip | |
Add another test for a recent checkin.
llvm-svn: 78253
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CodeGenCXX/virt.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/virt.cpp b/clang/test/CodeGenCXX/virt.cpp index 7a43026f825..55c9b5d923b 100644 --- a/clang/test/CodeGenCXX/virt.cpp +++ b/clang/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 |

