Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
abi
/
guard4.C
blob: 537c90524f3c55bf39faeb8b1a648d64b364c584 [
file
] [
log
] [
blame
]
// PR c++/93477
// { dg-require-weak }
namespace
x
{
struct
s
{
s
()
{}
static
int
a
;
};
// { dg-final { scan-assembler {.weak[^\n]*_ZGVN1x1bE} } }
struct
s __attribute__
((
weak
))
b
=
s
();
}