source:
tests/bugs/91.cfa@
dd78dbc
| Last change on this file since dd78dbc was 4d23dd2, checked in by , 5 years ago | |
|---|---|
|
|
| File size: 205 bytes | |
| Line | |
|---|---|
| 1 | // Trac ticket |
| 2 | // https://cforall.uwaterloo.ca/trac/ticket/91 |
| 3 | |
| 4 | #include <stdbool.h> |
| 5 | |
| 6 | struct fred {}; |
| 7 | bool ?!=?(const fred & this, zero_t) { return true; } |
| 8 | |
| 9 | void foo() { |
| 10 | fred f; |
| 11 | if(f) {} |
| 12 | bool test = f; |
| 13 | } |
Note:
See TracBrowser
for help on using the repository browser.