2011-10-15 07:32:50 +08:00
|
|
|
// RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s
|
|
|
|
|
2020-02-04 02:09:39 +08:00
|
|
|
// CHECK: @_ZN1SIDhDhE1iE = global i32 3
|
2011-10-15 07:32:50 +08:00
|
|
|
template <typename T, typename U> struct S { static int i; };
|
|
|
|
template <> int S<__fp16, __fp16>::i = 3;
|
|
|
|
|
2020-02-04 02:09:39 +08:00
|
|
|
// CHECK-LABEL: define void @_Z1fPDh(half* %x)
|
2011-10-15 07:32:50 +08:00
|
|
|
void f (__fp16 *x) { }
|
|
|
|
|
2020-02-04 02:09:39 +08:00
|
|
|
// CHECK-LABEL: define void @_Z1gPDhS_(half* %x, half* %y)
|
2011-10-15 07:32:50 +08:00
|
|
|
void g (__fp16 *x, __fp16 *y) { }
|
|
|
|
|