Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / tredecl.C
blobdf800603f37256f6c9120c501057169495120a08
1 // { dg-do assemble  }
2 // Bug:  Foo<Bar> *p semi-instantiates Foo<Bar> in local scope, so
3 // when Foo<Bar> f tries to instantiate it later, it only finds the partial
4 // instantiation from before.
5 //
6 // No PR; distilled from James Clark's SGML project.
7 //
9 class Bar { };
11 template<class T> class Foo;
13 Foo<Bar> *p;
15 template<class T> class Foo { };
17 Foo<Bar> f;                     // { dg-bogus "" } hosed binding levels