☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ63.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ63.C
code
plain
raw
1
// PR c++/91740 - ICE with constexpr call and ?: in ARRAY_REF.
2
// { dg-do compile { target c++14 } }
3
4
constexpr bool f(const char*) { return true; }
5
template<typename T> const char c = "FOO"[f("BAR") ? 1 : 0];