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
* gcc.dg/20061124-1.c: Add exit() function prototype.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr26983.c
blob
5e2120a1ffe3363967bca72ddd805dd57f6c4030
1
/* { dg-do link } */
2
3
/* This used to cause a linker failure because GCC would output
4
assembler code referencing labels that it had not output. */
5
6
void
*
jmpbuf
[
6
];
7
8
void
9
foo
(
void
)
10
{
11
__builtin_setjmp
(
jmpbuf
);
12
}
13
14
int
15
main
(
void
)
16
{
17
return
0
;
18
}
19