1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // Make sure the call to foo is compiled as: 4*f4a2713aSLionel Sambuc // call float @foo() 5*f4a2713aSLionel Sambuc // not 6*f4a2713aSLionel Sambuc // call float (...)* bitcast (float ()* @foo to float (...)*)( ) 7*f4a2713aSLionel Sambuc foo()8*f4a2713aSLionel Sambucstatic float foo() { return 0.0; } 9*f4a2713aSLionel Sambuc // CHECK: call float @foo bar()10*f4a2713aSLionel Sambucfloat bar() { return foo()*10.0;} 11