blob: 9e69948ac20c65519c8e23961e9dbcdb0aed11a8 [file] [log] [blame]
// PR c++/26266
template <int I>
struct S;
template <int I>
void f() {
if (const int i = 3) {
S<i>::j; // { dg-error "incomplete" }
}
}