// { dg-do assemble } // Copyright (C) 2000 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 22 Nov 2000 // Bug 789. We ICE'd trying to instantiate B because there was no // existing partial specialization of C in A. template struct A { template struct C { }; }; template struct B { typename A::template C s1; }; int main() { B b; return 0; }