9 lines · cpp
1// RUN: %clang_cc1 -fopenmp-simd -fsycl-is-device -triple spir64 -verify -fsyntax-only %s2 3// Test that in the presence of SYCL options, that null function4// declarations are accounted for when checking to emit diagnostics.5 6// expected-no-diagnostics7 8__thread void *x;9