Commit 5b8fa331 by Alexandre Oliva Committed by Alexandre Oliva

* dwarf1.C, dwarf2.C, dwarf3.C: New tests.

From-SVN: r28469
parent a22b75d3
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> 1999-07-20 Alexandre Oliva <oliva@dcc.unicamp.br>
* template8.C, typeof1.C: New test. * template8.C, typeof1.C: New test.
......
// 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;
// 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() {}
// 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment