summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash42.C
blob: 8777ef82cf048274f859d14b105c6ffcb0d20593 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// GROUPS passed old-abort
int fn();// { dg-error "" }  ambiguates.*
int x;
int& fn() {// { dg-error "" }  new decl.*
return x;}