mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
9c2cfaaada
Fix #58087. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D142075
11 lines
223 B
C++
11 lines
223 B
C++
// 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;
|
|
}
|