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
Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
bug-2059.c
blob
c52b258573606a845d481f4f2af30740b4884fe1
1
/*
2
bug-2059.c
3
*/
4
5
#include <testfwk.h>
6
#include <string.h>
7
8
char
pg0
[] =
"SDCC"
;
9
char
pg1
[] = {
"SDCC"
};
10
11
void
testBug
(
void
)
12
{
13
static char
ps0
[] =
"sdcc"
;
14
static char
ps1
[] = {
"sdcc"
};
15
char
pa0
[] =
"benshi"
;
16
char
pa1
[] = {
"benshi"
};
17
18
ASSERT
(
strcmp
(
pg0
,
pg1
) ==
0
);
19
ASSERT
(
strcmp
(
ps0
,
ps1
) ==
0
);
20
ASSERT
(
strcmp
(
pa0
,
pa1
) ==
0
);
21
}