☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
array27.C
☽
☼
gcc/testsuite/g++.dg/template/array27.C
code
plain
raw
1
// PR c++/47808
2
// { dg-options "" }
3
4
template <typename T>
5
inline T abs (T const & x) { return x; }
6
7
template <typename T>
8
void f (T)
9
{
10
typedef int ai[(abs(0.1) > 0) ? 1 : -1];
11
}
12
13
int main()
14
{
15
f(1);
16
}