llvm-project/clang/test/CodeGenCXX/default-constructor-for-mem...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
347 B
C++
Raw Normal View History

// 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