repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
OpenMP
/
float16_sema.cpp
blob
4b9f3399eb30d6167b9840cf958e6b5ec92ace8f
1
// RUN: %clang_cc1 -fsyntax-only -x c++ -triple x86_64-unknown-linux-gnu -fopenmp -fopenmp-targets=nvptx64 -verify %s
2
// expected-no-diagnostics
3
4
int
foo
() {
5
#pragma omp target
6
{
7
__fp16 a
= -
1.0
f16
;
8
}
9
return
0
;
10
}