llvm/clang/test/OpenMP/simd_null_pointer_access.cpp

// RUN: %clang_cc1 -fopenmp-simd -fsycl-is-device -triple spir64 -verify -fsyntax-only %s

// Test that in the presence of SYCL options, that null function
// declarations are accounted for when checking to emit diagnostics.

// expected-no-diagnostics

__thread void *x;