Ticket #1094: hello_tango.d
| File hello_tango.d, 354 bytes (added by fawzi, 7 months ago) |
|---|
sample program showing the problem |
| Line | |
|---|---|
| 1 | // test file with garbled stacktrace on tango |
| 2 | // working on phobos with gdc r209 on intel mac 10.4 |
| 3 | // a good place to set the breakpoint is genobj.d:968 |
| 4 | // (post garbling), and lifetime.d:99 (and later lifetime.d:103) |
| 5 | // (pre garbling) |
| 6 | // Fawzi |
| 7 | module hello_tango; |
| 8 | |
| 9 | void main(char [][] argv) |
| 10 | { |
| 11 | int []a=new int[10]; |
| 12 | a.length=5; |
| 13 | int b=a[6]; |
| 14 | } |










