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
/
attr-weakref-2.c
blob
75cc0779c5771bba70da914d839207e984a506ba
1
/* { dg-do compile } */
2
/* { dg-require-weak "" } */
3
4
typedef
int
vtype
;
5
6
extern
vtype wv1
;
7
extern
vtype Wv1a
__attribute__
((
weakref
(
"wv1"
)));
/* { dg-error "weakref 'Wv1a' must have static linkage" } */