Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.target
/
nvptx
/
weak.c
blob: a756b95c3c84c44e2bfeaafce2aac3f3740ef0c5 [
file
] [
log
] [
blame
]
extern
int
__attribute__
((
weak
))
decl
;
/* { dg-error "weak declarations" } */
int
__attribute__
((
weak
))
defn
;
int
Foo
()
{
return
decl
+
defn
;
}