PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype19.C
blob1df78b3b3806b4d5469d00e0b387d9982221f1ad
1 // PR c++/42466
3 template<class IntT, IntT X>
4 struct A
6   A();
8   template<IntT X2>
9   A(const A<IntT, X2>& other);
12 int main(int argc, char** argv)
14     A<int, 42> a;
15     A<int, 100> b = a;
17     A<unsigned, 42u> c;
18     A<unsigned, 100u> d = c;