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
delint/fix to build with paranoia flags
[AROS.git]
/
compiler
/
purify
/
test4.c
blob
3b10524d18b8b3753bf0cba16dade9caa7115316
1
/*
2
Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#include <stdio.h>
7
8
int
main
(
int
argc
,
char
**
argv
)
9
{
10
short
v
[
3
],
x
;
11
short
*
ptr
;
12
13
ptr
=
v
;
14
15
v
[
1
] =
0
;
16
17
x
= *
ptr
++;
/* UMR */
18
x
= *
ptr
++;
/* ok */
19
20
*
ptr
++ =
0
;
/* ok */
21
*
ptr
++ =
0
;
/* illegal write */
22
}