annotate clang/test/CodeGenCXX/default-constructor-for-members.cpp @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
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