[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / OpenMP / float16_sema.cpp
blob4b9f3399eb30d6167b9840cf958e6b5ec92ace8f
1 // RUN: %clang_cc1 -fsyntax-only -x c++ -triple x86_64-unknown-linux-gnu -fopenmp -fopenmp-targets=nvptx64 -verify %s
2 // expected-no-diagnostics
4 int foo() {
5 #pragma omp target
7 __fp16 a = -1.0f16;
9 return 0;