annotate clang/test/CodeGenCXX/default-constructor-for-members.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | \
anatofuz
parents:
diff changeset
2 // RUN: FileCheck %s
anatofuz
parents:
diff changeset
3 // RUN: %clang_cc1 -triple i386-apple-darwin -emit-llvm %s -o - | \
anatofuz
parents:
diff changeset
4 // RUN: FileCheck %s
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 extern "C" int printf(...);
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 struct S {
anatofuz
parents:
diff changeset
9 S() { printf("S::S()\n"); }
anatofuz
parents:
diff changeset
10 int iS;
anatofuz
parents:
diff changeset
11 };
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 struct M {
anatofuz
parents:
diff changeset
14 S ARR_S;
anatofuz
parents:
diff changeset
15 };
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 int main() {
anatofuz
parents:
diff changeset
18 M m1;
anatofuz
parents:
diff changeset
19 }
anatofuz
parents:
diff changeset
20
anatofuz
parents:
diff changeset
21 // CHECK: call void @_ZN1SC1Ev