OSDN Git Service

Formatting fixes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / t13.C
1 // { dg-do assemble  }
2
3 template <class A> class B {
4 public:
5   B();
6   A a;
7   int i;
8 };
9
10 void *f () {
11   return new B<char *>;
12 }
13
14 struct foo { int i[10]; };
15 extern B<foo> *foop;
16
17 void f2 () {
18   foop = new B<foo>;
19 }