Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2007-02-25-C-DotDotDot.c
blob27a1b5461c32d8586f4825320e7aba0bc58e8182
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
3 // Make sure the call to foo is compiled as:
4 // call float @foo()
5 // not
6 // call float (...) @foo( )
8 static float foo() { return 0.0; }
9 // CHECK: call float @foo
10 float bar() { return foo()*10.0;}