diff options
author | Anders Carlsson <andersca@mac.com> | 2010-05-05 05:47:36 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-05-05 05:47:36 +0000 |
commit | 68e3013ade8a219625b636bb8c1dcec2ba6fb685 (patch) | |
tree | 37fc9c9717c9ed61e9e72f57549c62fffe7acb5e /test/CodeGenCXX/class-layout.cpp | |
parent | 71b1d0e5f07de274af2b3c48955af66b1b7f0403 (diff) | |
download | clang-68e3013ade8a219625b636bb8c1dcec2ba6fb685.tar.gz |
Use a more appropriate LLVM type for the vtable pointer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/class-layout.cpp')
-rw-r--r-- | test/CodeGenCXX/class-layout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/class-layout.cpp b/test/CodeGenCXX/class-layout.cpp index 31091c5f45..9303bdaba8 100644 --- a/test/CodeGenCXX/class-layout.cpp +++ b/test/CodeGenCXX/class-layout.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -// An extra byte shoudl be allocated for an empty class. +// An extra byte should be allocated for an empty class. // CHECK: %struct.A = type { i8 } struct A { } a; @@ -9,5 +9,5 @@ struct A { } a; struct B { void *a; int b; } b; // C should have a vtable pointer. -// CHECK: %struct.C = type { i8**, i32 } +// CHECK: %struct.C = type { i32 (...)**, i32 } struct C { virtual void f(); int a; } *c; |