PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / non-dependent13.C
blob9e69948ac20c65519c8e23961e9dbcdb0aed11a8
1 // PR c++/26266
3 template <int I>
4 struct S;
6 template <int I>
7 void f() {
8   if (const int i = 3) {
9     S<i>::j; // { dg-error "incomplete" }
10   }