YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenCXX/fp16-overload.cpp
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

11 lines
242 B
C++

// RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s
extern int foo(float x);
extern int foo(double x);
__fp16 a;
// CHECK: call i32 @_Z3foof
// CHECK-NOT: call i32 @_Z3food
int bar (void) { return foo(a); }