☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
cond7.C
☽
☼
gcc/testsuite/g++.dg/template/cond7.C
code
plain
raw
1
// PR c++/34270
2
// { dg-do compile }
3
// { dg-options "" }
4
5
void foo ()
6
{
7
__typeof__ (0 ?: 0) x;
8
__decltype (0 ?: 0) y;
9
}
10
11
template<int> void bar ()
12
{
13
__typeof__ (0 ?: 0) x;
14
__decltype (0 ?: 0) y;
15
}