blob: d6dcc853a60cdda2aa9f9189b2406c788a21c036 [file] [log] [blame]
//RUN: %clang_cc1 %s -cl-std=c++ -pedantic -ast-dump -verify
//expected-no-diagnostics
//CHECK: |-VarDecl foo {{.*}} 'const __global int' constexpr cinit
constexpr int foo = 0;
class c {
public:
//CHECK: `-VarDecl {{.*}} foo2 'const __global int' static constexpr cinit
static constexpr int foo2 = 0;
};