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