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
Add regression test
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr42269-2.c
blob
a9410d442e9ea223262c0d26172b697c3d328de4
1
/* Make sure that language + abi extensions in passing S interoperate. */
2
3
static long long
__attribute__
((
noinline
))
4
foo
(
unsigned short
s
)
5
{
6
return
(
short
)
s
;
7
}
8
9
unsigned short
s
=
0xFFFF
;
10
11
int
12
main
(
void
)
13
{
14
return
foo
(
s
) +
1
!=
0
;
15
}