ADT
ast-experimental
enum
pthread-emulation
qualifiedEnum
|
Last change
on this file since 1eec0b0 was 4d23dd2, checked in by Thierry Delisle <tdelisle@…>, 5 years ago |
|
Added tests cases for some of the opened tickets
|
-
Property mode
set to
100644
|
|
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.