Debian Codegraph @

gcc/testsuite/g++.dg/template/crash119.C

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 }