+1999-08-03 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * dwarf1.C, dwarf2.C, dwarf3.C: New tests.
+
1999-07-20 Alexandre Oliva <oliva@dcc.unicamp.br>
* template8.C, typeof1.C: New test.
--- /dev/null
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation
+
+// by Alexandre Oliva <oliva@dcc.unicamp.br>
+// based on bug report by Chris McKay <chris.mckay@solipsys.com>
+
+// Special g++ Options: -gdwarf
+// crash test
+
+template <class T = void>
+struct foo {
+ static const int ELEMENTS = 1;
+ int bar[ELEMENTS];
+};
+foo<> bar;
--- /dev/null
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation
+
+// by Alexandre Oliva <oliva@dcc.unicamp.br>
+
+// Special g++ Options: -gdwarf
+// crash test
+
+typedef __java_boolean jboolean;
+void foo() {}
--- /dev/null
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation
+
+// by Alexandre Oliva <oliva@dcc.unicamp.br>
+// based on bug report by Andreas Stolcke <stolcke@speech.sri.com>
+
+// Special g++ Options: -gdwarf
+// crash test - XFAIL *-*-*
+
+template <class T = void> struct foo {
+ int data[1];
+};
+
+template <class T = void> struct bar {
+ bar(foo<> *);
+};
+
+template <class T> bar<T>::bar(foo<> *x) {
+ *x;
+}
+
+void baz() {
+ foo<> *baz;
+ bar<> baar(baz);
+}