PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash24.C
blob49b8c7e718d23cfe52523f68947d3a204578aab3
1 // PR c++/17826
3 struct A
5   template<typename> static int foo();
6 };
8 template<int> struct B {};
10 template<typename T> void bar()
12   B<sizeof A::foo<T>()> b1;
13   B<sizeof A::foo<T>()> b2;