source:
tests/voidPtr.cfa@
689d057
| Last change on this file since 689d057 was 66812dd, checked in by , 5 years ago | |
|---|---|
|
|
| File size: 194 bytes | |
| Line | |
|---|---|
| 1 | int main() { |
| 2 | int i, j; |
| 3 | void *a = &i, *b = &j; |
| 4 | |
| 5 | if ( a == 0 ) { |
| 6 | abort(); |
| 7 | } |
| 8 | |
| 9 | if ( a == b ) { |
| 10 | abort(); |
| 11 | } |
| 12 | |
| 13 | if ( ! a ) { |
| 14 | abort(); |
| 15 | } |
| 16 | printf( "done\n" ); // non-empty .expect file |
| 17 | } |
| 18 |
Note:
See TracBrowser
for help on using the repository browser.