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