Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.oliva / dwarf3.C
blob945d2ec2ea84d5a2ee32bfd5765d34b3e7654914
1 // { dg-do assemble { xfail i386-pc-solaris* } }
3 // Copyright (C) 1999 Free Software Foundation
5 // by Alexandre Oliva <oliva@dcc.unicamp.br>
6 // based on bug report by Andreas Stolcke <stolcke@speech.sri.com>
8 // Fails with dwarf debugging.
10 template <class T = void> struct foo {
11   int data[1];
14 template <class T = void> struct bar {
15   bar(foo<> *);
18 template <class T> bar<T>::bar(foo<> *x) {
19   *x;
22 void baz() {
23   foo<> *baz;
24   bar<> baar(baz);