blob: c0ddb1d855a958b08c542cad3cddab4b80ffc779 [file] [log] [blame]
Argyrios Kyrtzidisdb2b42f2010-12-10 00:11:00 +00001// RUN: %clang_cc1 %s -triple=i686-apple-darwin10 -emit-llvm -o - | FileCheck %s
2
3struct Base {
4 virtual ~Base();
5 int x;
6};
7
8#pragma pack(1)
9struct Sub : virtual Base {
10 char c;
11};
12
13// CHECK: %struct.Sub = type <{ i32 (...)**, i8, [8 x i8] }>
14void f(Sub*) { }