repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20001130-2.c
blob
c4ef6c7da065f8630e9227e4c44f060e1175ac5b
1
static int
which_alternative
=
3
;
2
3
static const char
*
i960_output_ldconst
(
void
);
4
5
static const char
*
6
output_25
(
void
)
7
{
8
switch
(
which_alternative
)
9
{
10
case
0
:
11
return
"mov %1,%0"
;
12
case
1
:
13
return
i960_output_ldconst
();
14
case
2
:
15
return
"ld %1,%0"
;
16
case
3
:
17
return
"st %1,%0"
;
18
}
19
}
20
21
static const char
*
i960_output_ldconst
(
void
)
22
{
23
return
"foo"
;
24
}
25
int
main
(
void
)
26
{
27
const char
*
s
=
output_25
() ;
28
if
(
s
[
0
] !=
's'
)
29
abort
();
30
exit
(
0
);
31
}