repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
warn
/
weak1.C
blob
034716acccecb85f44fc36c76221fe471a45f977
1
// The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
2
// { dg-do run }
3
// { dg-require-weak "" }
4
// { dg-skip-if "No unsat" { hppa*-*-hpux* } { "*" } { "" } }
5
6
extern void foo (void) __attribute__ ((weak));
7
8
int
9
main ()
10
{
11
if (&foo)
12
foo ();
13
14
return 0;
15
}