repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaCUDA
/
float16.cu
blob
a9cbe87f32c1001f2f27c026a2ef47425016c6d3
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;