xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/fp16-overload.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc extern int foo(float x);
4*f4a2713aSLionel Sambuc extern int foo(double x);
5*f4a2713aSLionel Sambuc 
6*f4a2713aSLionel Sambuc __fp16 a;
7*f4a2713aSLionel Sambuc 
8*f4a2713aSLionel Sambuc // CHECK: call i32 @_Z3foof
9*f4a2713aSLionel Sambuc // CHECK-NOT: call i32 @_Z3food
bar(void)10*f4a2713aSLionel Sambuc int bar (void) { return foo(a); }
11