☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr23056.C
☽
☼
gcc/testsuite/g++.dg/opt/pr23056.C
code
plain
raw
1
// PR c++/23056
2
// { dg-do compile }
3
4
template <bool T> struct S { virtual ~S(); };
5
void foo ()
6
{
7
static_cast<bool>("Foo");
8
}
9
S<true> a;