You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
347 B
22 lines
347 B
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | \
|
|
// RUN: FileCheck %s
|
|
// RUN: %clang_cc1 -triple i386-apple-darwin -emit-llvm %s -o - | \
|
|
// RUN: FileCheck %s
|
|
|
|
extern "C" int printf(...);
|
|
|
|
struct S {
|
|
S() { printf("S::S()\n"); }
|
|
int iS;
|
|
};
|
|
|
|
struct M {
|
|
S ARR_S;
|
|
};
|
|
|
|
int main() {
|
|
M m1;
|
|
}
|
|
|
|
// CHECK: call void @_ZN1SC1Ev
|