mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-02 10:32:56 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
183f47fb1a
commit
876e5942bc
11
test/CFrontend/2007-02-25-C-DotDotDot.c
Normal file
11
test/CFrontend/2007-02-25-C-DotDotDot.c
Normal file
@ -0,0 +1,11 @@
|
||||
// RUN: %llvmgcc -O0 -S -o - -emit-llvm -fno-inline -fno-unit-at-a-time %s | grep 'call float @foo'
|
||||
|
||||
// Make sure the call to foo is compiled as:
|
||||
// call float @foo()
|
||||
// not
|
||||
// call float (...)* bitcast (float ()* @foo to float (...)*)( )
|
||||
|
||||
static float foo() { return 0.0; }
|
||||
float bar() { return foo()*10.0;}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user