llvm-project/clang/test/OpenMP/simd_null_pointer_access.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
272 B
C++
Raw Normal View History

// 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;