| 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 |
| 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 |