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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
attr-weakref-2.c
blob
172a4a63e6ad5ba264a9b500d0d115d7e8a87807
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' symbol 'Wv1a' must have static linkage" } */