Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
constexpr-nonlit7.C
blob: 06125756f25c315b47d7b40d60d4220f7588022e [
file
] [
log
] [
blame
]
// PR c++/104994
// CWG2552
// { dg-do compile { target c++14 } }
constexpr
bool
foo
()
{
extern
thread_local
int
t
;
return
true
;
}
static
constexpr
bool
a
=
foo
();