1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | \ 2*0a6a1f1dSLionel Sambuc // RUN: FileCheck %s 3*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple i386-apple-darwin -emit-llvm %s -o - | \ 4*0a6a1f1dSLionel Sambuc // RUN: FileCheck %s 5f4a2713aSLionel Sambuc 6f4a2713aSLionel Sambuc extern "C" int printf(...); 7f4a2713aSLionel Sambuc 8f4a2713aSLionel Sambuc struct S { SS9f4a2713aSLionel Sambuc S() { printf("S::S()\n"); } 10f4a2713aSLionel Sambuc int iS; 11f4a2713aSLionel Sambuc }; 12f4a2713aSLionel Sambuc 13f4a2713aSLionel Sambuc struct M { 14f4a2713aSLionel Sambuc S ARR_S; 15f4a2713aSLionel Sambuc }; 16f4a2713aSLionel Sambuc main()17f4a2713aSLionel Sambucint main() { 18f4a2713aSLionel Sambuc M m1; 19f4a2713aSLionel Sambuc } 20f4a2713aSLionel Sambuc 21*0a6a1f1dSLionel Sambuc // CHECK: call void @_ZN1SC1Ev 22