Debian Codegraph @

clang/test/SemaOpenCLCXX/amdgpu-nullptr.clcpp

raw
1 // RUN: %clang_cc1 -triple amdgcn -cl-std=clc++ -verify %s
2
3 // expected-no-diagnostics
4
5 #define fold(x) (__builtin_constant_p(x) ? (x) : (x))
6 static_assert(nullptr != fold(reinterpret_cast<private int*>(0)));
7
8 static_assert(nullptr == (private int *)0);
9