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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
weak
/
weak-6.c
blob
531c581dc262a1ad28921d31aa1b9c5ff3d98d45
1
/* { dg-do compile } */
2
/* { dg-require-weak "" } */
3
4
extern
void
*
foo
(
void
);
5
void
*
foo
(
void
) {
return
(
void
*)
foo
; }
/* { dg-error "precede" } */
6
7
#pragma weak foo