// This test should get a linker error for the reference to A::i. // An XPASS on this test is really a FAIL. // excess errors test - XFAIL *-*-* template struct B { static const int i = 3; }; template struct A { static const int i = B::i; }; const int *p = &A::i; int main(){}