blob: 7e42859ac93e6714d5a449f663a3a2af3057189a [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++0x -emit-llvm %s -o %t-64.ll
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00002// RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s
Fariborz Jahanian30509a32009-11-06 18:47:57 +00003
4extern "C" int printf(...);
5
6struct A {
7 A(...) {
8 printf("A::A(...)\n");
9 }
10};
11
12A a(1.34);
13
14A b = 2.34;
15
16int main()
17{
18 A c[3];
19}
20
21// CHECK-LPLL64: call void (%struct.A*, ...)
22// CHECK-LPLL64: call void (%struct.A*, ...)
23// CHECK-LPLL64: call void (%struct.A*, ...)