11 lines · c
1// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s2 3// Make sure the call to foo is compiled as:4// call float @foo()5// not6// call float (...) @foo( )7 8static float foo() { return 0.0; }9// CHECK: call float @foo10float bar() { return foo()*10.0;}11