Clang Project

clang_source_code/test/SemaCUDA/float16.cu
1// RUN: %clang_cc1 -fsyntax-only -triple x86_64 -aux-triple amdgcn -verify %s
2// expected-no-diagnostics
3#include "Inputs/cuda.h"
4
5__device__ void f(_Float16 x);
6
7__device__ _Float16 x = 1.0f16;
8