source:
tests/bugs/91.cfa
@
dd1ebb1
Last change on this file since dd1ebb1 was 4d23dd2, checked in by , 4 years ago | |
---|---|
|
|
File size: 205 bytes |
Rev | Line | |
---|---|---|
[4d23dd2] | 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.