Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / instantiate9.C
blob14c529fca5c730f73916c316bac9ce5739734588
1 // { dg-do assemble  }
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 22 Nov 2000 <nathan@codesourcery.com>
6 // Bug 789. We ICE'd trying to instantiate B<float> because there was no
7 // existing partial specialization of C in A<float>.
9 template <typename T>
10 struct A {
11     template <typename D1>
12     struct C { };
15 template <typename T1>
16 struct B {
17    typename A<T1>::template C<int> s1;
20 int main()
22     B<float> b;
23     
24     return 0;