[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / OpenMP / simd_null_pointer_access.cpp
blob3b539fd3aa6419e977f79143efec2c786bed084e
1 // RUN: %clang_cc1 -fopenmp-simd -fsycl-is-device -triple spir64 -verify -fsyntax-only %s
3 // Test that in the presence of SYCL options, that null function
4 // declarations are accounted for when checking to emit diagnostics.
6 // expected-no-diagnostics
8 __thread void *x;