1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -fno-rtti -emit-llvm -triple=i686-pc-win32 -o - %s 2>/dev/null | FileCheck %s 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -fno-rtti -emit-llvm -triple=x86_64-pc-win32 -o - %s 2>/dev/null | FileCheck %s -check-prefix CHECK-X64 3f4a2713aSLionel Sambuc 4f4a2713aSLionel Sambuc struct B { char a; }; 5f4a2713aSLionel Sambuc struct A : virtual B {} a; 6f4a2713aSLionel Sambuc 7f4a2713aSLionel Sambuc // The <> indicate that the pointer is packed, which is required to support 8f4a2713aSLionel Sambuc // microsoft layout in 32 bit mode, but not 64 bit mode. 9f4a2713aSLionel Sambuc // CHECK: %struct.A = type <{ i32*, %struct.B }> 10f4a2713aSLionel Sambuc // CHECK-X64: %struct.A = type { i32*, %struct.B } 11