2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash11.C
blob16fd61042774f2ec10f2fb2ce0d45235fced0ba0
1 // { dg-do assemble  }
2 // Origin: Alfred Minarik <a8601248@unet.univie.ac.at>
4 template <typename T>
5 struct allocator
7   typedef int size_type;
8 };
10 template <typename T>
11 struct string
13   typedef typename allocator<T>::size_type size_type;
15   static size_type size;
17   size_type
18   max_size() const { return size; }
21 template struct string <char>;