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