Changeset 6843a9c in mainline for uspace/app/tester/fault/fault2.c
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 722912e
- Parents:
- ba72f2b (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/fault/fault2.c
rba72f2b r6843a9c 35 35 const char *test_fault2(void) 36 36 { 37 volatile long long var; 38 volatile int var1; 39 40 var1 = *((aliasing_int *) (((char *) (&var)) + 1)); 37 volatile long long var = 0; 38 volatile int var1 = *((aliasing_int *) (((char *) (&var)) + 1)); 41 39 printf("Read %d\n", var1); 42 40
Note:
See TracChangeset
for help on using the changeset viewer.