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
PR middle-end/30262
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
991227-1.c
blob
46b0951e9e3b150c711970b7f06756ad5a62beba
1
char
*
doit
(
int
flag
)
2
{
3
return
1
+ (
flag
?
"\0wrong
\n
"
:
"\0right
\n
"
);
4
}
5
int
main
()
6
{
7
char
*
result
=
doit
(
0
);
8
if
(*
result
==
'r'
&&
result
[
1
] ==
'i'
)
9
exit
(
0
);
10
abort
();
11
}