OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-15 Eric Christopher <echristo@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
special
/
weak-2.c
1
/* { dg-do run } */
2
/* { dg-require-weak "" } */
3
/* { dg-additional-sources "weak-2a.c weak-2b.c" } */
4
5
#include <stdlib.h>
6
7
extern int foo(void);
8
9
int main(void) {
10
11
if (foo())
12
exit(0);
13
else
14
abort();
15
}