Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
weak6.C
blob: e9a70ee0dad32d72fa7f8f7f38b45751137a6ec5 [
file
] [
log
] [
blame
]
// PR c++/99035
// { dg-do compile }
// { dg-require-weak "" }
// { dg-options "-fsyntax-only" }
extern
void
*
foo
(
void
);
void
*
foo
(
void
)
{
return
(
void
*)
foo
;
}
#pragma
weak foo