[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / vararg-conversion-ctor.cpp
blobe496f6dcd116a1921cbc927a102e9257af94c6ed
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -std=c++11 -emit-llvm %s -o %t-64.ll
2 // RUN: FileCheck -check-prefix CHECK-LPLL64 --input-file=%t-64.ll %s
4 extern "C" int printf(...);
6 struct A {
7 A(...) {
8 printf("A::A(...)\n");
9 }
12 A a(1.34);
14 A b = 2.34;
16 int main()
18 A c[3];
21 // CHECK-LPLL64: call void (%struct.A*, ...)
22 // CHECK-LPLL64: call void (%struct.A*, ...)
23 // CHECK-LPLL64: call void (%struct.A*, ...)