PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / error53.C
blob221003477a4f53e3653b9c4938c44d859ad706c8
1 // PR c++/57638
3 template<int x>
4 struct S {};
6 template<long long i>
7 void g(S<i>);
9 void f()
11   S<1000> t;
12   g(t);         // { dg-error "no matching" }
13 }  // { dg-message "mismatched types 'long long int' and 'int'" "" { target *-*-* } .-1 }