blob: 5bc147c2deba77f57d3b7b3ececd98f371882a4f [file] [log] [blame]
// RUN: %clang_cc1 -triple amdgcn -cl-std=clc++ -verify %s
// expected-no-diagnostics
#define fold(x) (__builtin_constant_p(x) ? (x) : (x))
static_assert(nullptr != fold(reinterpret_cast<private int*>(0)));
static_assert(nullptr == (private int *)0);