ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 0c92c9f was
16cfd8c,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
1 error left
|
-
Property mode set to
100644
|
File size:
260 bytes
|
Rev | Line | |
---|
[16cfd8c] | 1 | extern void* get_member(); |
---|
| 2 | extern void* get_next(); |
---|
| 3 | |
---|
| 4 | void 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.