repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
an update containing libatomic changes.
[AROS.git]
/
compiler
/
purify
/
t_illread.c
blob
abc1ca712d649aef9fbf10edf3c9629e174f9ec1
1
/*
2
Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#include <stdio.h>
7
8
int
c
;
9
10
void
foo
(
int
*
x
)
11
{
12
*
x
++ =
1
;
13
}
14
15
int
main
(
int
argc
,
char
**
argv
)
16
{
17
int
*
x
;
18
int
a
,
b
;
19
20
x
= &
b
;
21
22
a
= *
x
;
/* Uninitialized memory read */
23
24
return
0
;
25
}