summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/nondeduced7.C
blob: eb5d5faf4936cc10154e4789124da199a644575c (plain)
1
2
3
4
5
6
// PR c++/58836
// { dg-do compile { target c++11 } }

template<typename, int> struct A;
template<typename T> struct A<T, T{}> {}; // { dg-error "partial specialization|involves template parameter" }
A<int, 0> a;