☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash119.C
☽
☼
gcc/testsuite/g++.dg/template/crash119.C
code
plain
raw
1
// PR c++/59115
2
3
template<typename T, float, int, typename U> void foo(T, U) {} // { dg-error "valid type" "" { target c++17_down } }
4
5
void bar()
6
{
7
foo(0, 0); // { dg-error "matching" }
8
}