summaryrefslogtreecommitdiffstats
path: root/test/SemaCUDA/float16.cu
blob: a9cbe87f32c1001f2f27c026a2ef47425016c6d3 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -triple x86_64 -aux-triple amdgcn -verify %s
// expected-no-diagnostics
#include "Inputs/cuda.h"

__device__ void f(_Float16 x);

__device__ _Float16 x = 1.0f16;