source: tests/voidPtr.c @ ef2eade

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since ef2eade was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Moved up many directories in source

  • Property mode set to 100644
File size: 145 bytes
Line 
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();
15        }       
16}
17
Note: See TracBrowser for help on using the repository browser.