annotate clang/test/CodeGenCXX/vararg-conversion-ctor.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 c4bab56944e8
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 -std=c++11 -emit-llvm %s -o %t-64.ll
anatofuz
parents:
diff changeset
2 // RUN: FileCheck -check-prefix CHECK-LPLL64 --input-file=%t-64.ll %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 extern "C" int printf(...);
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 struct A {
anatofuz
parents:
diff changeset
7 A(...) {
anatofuz
parents:
diff changeset
8 printf("A::A(...)\n");
anatofuz
parents:
diff changeset
9 }
anatofuz
parents:
diff changeset
10 };
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 A a(1.34);
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 A b = 2.34;
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 int main()
anatofuz
parents:
diff changeset
17 {
anatofuz
parents:
diff changeset
18 A c[3];
anatofuz
parents:
diff changeset
19 }
anatofuz
parents:
diff changeset
20
anatofuz
parents:
diff changeset
21 // CHECK-LPLL64: call void (%struct.A*, ...)
anatofuz
parents:
diff changeset
22 // CHECK-LPLL64: call void (%struct.A*, ...)
anatofuz
parents:
diff changeset
23 // CHECK-LPLL64: call void (%struct.A*, ...)