Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
refs/heads/users/matthias-springer/dialect_conv_no_fold
/
.
/
clang
/
test
/
OpenMP
/
float16_sema.cpp
blob: 4b9f3399eb30d6167b9840cf958e6b5ec92ace8f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -x c++ -triple x86_64-unknown-linux-gnu -fopenmp -fopenmp-targets=nvptx64 -verify %s
// expected-no-diagnostics
int
foo
()
{
#pragma
omp target
{
__fp16 a
=
-
1.0f16
;
}
return
0
;
}