22 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | \2// RUN: FileCheck %s3// RUN: %clang_cc1 -triple i386-apple-darwin -emit-llvm %s -o - | \4// RUN: FileCheck %s5 6extern "C" int printf(...);7 8struct S {9 S() { printf("S::S()\n"); }10 int iS;11};12 13struct M {14 S ARR_S; 15};16 17int main() {18 M m1;19}20 21// CHECK: call void @_ZN1SC1Ev22