Richard Smith | 762bb9d | 2011-10-13 22:29:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o %t-64.ll |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 2 | // RUN: FileCheck -check-prefix LPLL64 --input-file=%t-64.ll %s |
Fariborz Jahanian | 30509a3 | 2009-11-06 18:47:57 +0000 | [diff] [blame] | 3 | |
| 4 | extern "C" int printf(...); |
| 5 | |
| 6 | struct A { |
| 7 | A(...) { |
| 8 | printf("A::A(...)\n"); |
| 9 | } |
| 10 | }; |
| 11 | |
| 12 | A a(1.34); |
| 13 | |
| 14 | A b = 2.34; |
| 15 | |
| 16 | int 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*, ...) |