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