☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
constexpr-nonlit7.C
☽
☼
gcc/testsuite/g++.dg/cpp23/constexpr-nonlit7.C
code
plain
raw
1
// PR c++/104994
2
// CWG2552
3
// { dg-do compile { target c++14 } }
4
5
constexpr bool foo () { extern thread_local int t; return true; }
6
static constexpr bool a = foo ();