[cfe-commits] r78253 - /cfe/trunk/test/CodeGenCXX/virt.cpp

Mike Stump mrs at apple.com
Wed Aug 5 15:49:03 PDT 2009


Author: mrs
Date: Wed Aug  5 17:48:36 2009
New Revision: 78253

URL: http://llvm.org/viewvc/llvm-project?rev=78253&view=rev
Log:
Add another test for a recent checkin.

Modified:
    cfe/trunk/test/CodeGenCXX/virt.cpp

Modified: cfe/trunk/test/CodeGenCXX/virt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/virt.cpp?rev=78253&r1=78252&r2=78253&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/virt.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/virt.cpp Wed Aug  5 17:48:36 2009
@@ -31,8 +31,21 @@
 
 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





More information about the cfe-commits mailing list