source: tests/voidPtr.cfa @ 7a15b7e

ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
Last change on this file since 7a15b7e was 66812dd, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

convert tests to always print output (no empty .expect files)

  • Property mode set to 100644
File size: 194 bytes
RevLine 
[2d59d53]1int 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();
[66812dd]15        }
16        printf( "done\n" );                             // non-empty .expect file
[2d59d53]17}
18
Note: See TracBrowser for help on using the repository browser.