source:
tests/bugs/20.cfa@
ad47ec4
| Last change on this file since ad47ec4 was 4d23dd2, checked in by , 5 years ago | |
|---|---|
|
|
| File size: 201 bytes | |
| Line | |
|---|---|
| 1 | // Trac ticket |
| 2 | // https://cforall.uwaterloo.ca/trac/ticket/20 |
| 3 | |
| 4 | struct foo { |
| 5 | int i; |
| 6 | }; |
| 7 | |
| 8 | void ?{}( foo & this, zero_t zero ) { |
| 9 | this.i = zero; |
| 10 | } |
| 11 | |
| 12 | extern void bar( foo this = 0 ); |
| 13 | |
| 14 | int main() { |
| 15 | bar(); |
| 16 | } |
Note:
See TracBrowser
for help on using the repository browser.