llvm-project/clang/test/CodeGen/2007-02-25-C-DotDotDot.c
Nikita Popov 39db5e1ed8 [CodeGen] Convert tests to opaque pointers (NFC)
Conversion performed using the script at:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34

These are only tests where no manual fixup was required.
2022-10-07 14:22:00 +02:00

11 lines
281 B
C

// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
// Make sure the call to foo is compiled as:
// call float @foo()
// not
// call float (...) @foo( )
static float foo() { return 0.0; }
// CHECK: call float @foo
float bar() { return foo()*10.0;}