reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / crash55.C
blobfd4d4b65edb982c11df7cbb7dac586a2ff7b7eb1
1 // { dg-do compile }
2 // GROUPS passed old-abort
3       extern int f(int); // { dg-message "old declaration" }
5       int& f(int x)  // { dg-error "new declaration" }
6       {
7           int local;
9           local = x+2;
10       
11           return local; // { dg-warning "reference to local" }
12       }