source: examples/gc_no_raii/bug-repro/while.c @ 47dd0d2

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 47dd0d2 was bf71cfd, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Moved up many directories in source

  • Property mode set to 100644
File size: 260 bytes
Line 
1extern void* get_member();
2extern void* get_next();
3
4void main()
5{
6        void* member = get_member();
7        void* start_obj = get_next();
8
9        do
10        {
11                start_obj = (void*) ( ((unsigned long int)start_obj) + sizeof(void*) );
12        }
13        while(start_obj > member || !(start_obj) );
14}
Note: See TracBrowser for help on using the repository browser.