repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
implicit_int.c
blob
536524090d51c621e5b9d92f12a62a394daed185
1
/*
2
The C90 implicit int rule
3
*/
4
5
#include <testfwk.h>
6
7
#ifdef __SDCC
8
#pragma std_c89
9
#pragma disable_warning 85
10
#pragma disable_warning 225
11
12
static
x
;
13
volatile
y
;
14
#endif
15
16
void
testint
(
void
)
17
{
18
#ifdef __SDCC
// Don't know how to set host compiler to C90 mode.
19
auto
a
;
20
static
b
;
21
register
c
;
22
volatile
d
;
23
#endif
24
}
25