blob: abc46683cee9da900fb6cdac779de47767001b1b [file] [log] [blame]
Nuno Lopes060ddb02012-05-09 21:21:49 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 %s -emit-llvm -o - | FileCheck %s
Eric Christopher3883e662011-07-26 22:17:02 +00002
3// Make sure the call to foo is compiled as:
4// call float @foo()
5// not
6// call float (...)* bitcast (float ()* @foo to float (...)*)( )
7
8static float foo() { return 0.0; }
9// CHECK: call float @foo
10float bar() { return foo()*10.0;}