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
Reverted removal of 'const' from TagItem arrays/pointers in r50147
[AROS.git]
/
compiler
/
purify
/
test2.c
blob
15007890158e84ab4d5d0d11e54e6cad553bd283
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
char
*
str
;
11
int
t
;
12
13
str
=
"Hello world.
\n
"
;
14
15
printf
(
"%s"
,
str
);
16
17
printf
(
"argv=%p
\n
"
,
argv
);
18
19
for
(
t
=
0
;
t
<
argc
;
t
++)
20
printf
(
"Arg %d: %s
\n
"
,
t
,
argv
[
t
]);
21
22
return
0
;
23
}