// PR c++/32674 class C { static const int j = 3; }; template class A { static const int i1; static const int i2; static const int i3; static const int i4; }; template const int A::i1(C::j); template const int A::i2 = C::j; template const int A::i3(C::j, 5); // { dg-error "compound expression" } template const int A::i4 = (C::j, 7);