xref: /llvm-project/clang/test/OpenMP/simd_null_pointer_access.cpp (revision 7bafe336a1d8e6f4b7ac3da5066225eff1d12880)
1 // RUN: %clang_cc1 -fopenmp-simd -fsycl-is-device -triple spir64 -verify -fsyntax-only %s
2 
3 // Test that in the presence of SYCL options, that null function
4 // declarations are accounted for when checking to emit diagnostics.
5 
6 // expected-no-diagnostics
7 
8 __thread void *x;
9