aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/crash119.C
blob: 95d80a8ffc56ad821ee9785ad30be3881d2d7544 (plain)
1
2
3
4
5
6
7
8
// PR c++/59115

template<typename T, float, int, typename U> void foo(T, U) {} // { dg-error "valid type" }

void bar()
{
  foo(0, 0);  // { dg-error "matching" }
}