OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / crash19.C
1 // Build don't link:
2
3 template <int I>
4 void f()
5 {
6   class C { public: int c; };
7
8   struct S {
9     void g() {
10       C e;
11       e.c = 3;
12     };
13   };
14
15   S s;
16   s.g();
17 }
18
19 template void f<7>();