☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
cond2.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/cond2.C
code
plain
raw
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <
[email protected]
>
3
4
struct S
5
{
6
S (int);
7
operator bool () const;
8
};
9
10
template <class T>
11
void f ()
12
{
13
if (const S &s = 3) {
14
}
15
}
16
17
template void f<int>();
18