mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 01:20:51 +03:00

* gen/functions: Re-clang-format, minor style cleanup [nfc] * Only non-typesafe variadics need to take LLVM varargs GitHub: Fixes #2121.
7 lines
228 B
D
7 lines
228 B
D
// RUN: %ldc -output-ll -of=%t.ll %s && FileCheck %s < %t.ll
|
|
|
|
// Make sure typesafe variadics are not lowered to LLVM variadics.
|
|
void typesafe(size_t[2] a...) {}
|
|
// CHECK: define{{.*}}typesafe
|
|
// CHECK-NOT: ...
|
|
// CHECK-SAME: {
|