Changeset 65af6c4 in mainline for uspace/app/tester/fault/fault2.c


Ignore:
Timestamp:
2011-03-28T20:59:00Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1cc9db
Parents:
0c8a420
Message:

make sure the variable gets (eventually) used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/fault/fault2.c

    r0c8a420 r65af6c4  
    2929
    3030#include "../tester.h"
     31#include <stdio.h>
    3132
    3233typedef int __attribute__((may_alias)) aliasing_int;
     
    3839       
    3940        var1 = *((aliasing_int *) (((char *) (&var)) + 1));
     41        printf("Read %d\n", var1);
    4042       
    4143        return "Survived unaligned read";
Note: See TracChangeset for help on using the changeset viewer.