* g++.old-deja/g++.other/expr1.C: New test.
From-SVN: r24114
This commit is contained in:
parent
ad98743694
commit
2732314e1e
|
@ -1,5 +1,7 @@
|
|||
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* g++.old-deja/g++.other/expr1.C: New test.
|
||||
|
||||
* g++.old-deja/g++.eh/tmpl3.C: New test.
|
||||
|
||||
* g++.old-deja/g++.eh/tmpl2.C: New test.
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
// Build don't link:
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
// Simplified from bug report by Trevor Taylor <ttaylor@powerup.com.au>
|
||||
|
||||
struct T {
|
||||
int operator()(int) { }
|
||||
};
|
||||
|
||||
int main() {
|
||||
T()(); // ERROR - no such operator
|
||||
}
|
Loading…
Reference in New Issue