Debian Codegraph @

gcc/testsuite/g++.dg/abi/guard4.C

raw
1 // PR c++/93477
2 // { dg-require-weak }
3
4 namespace x {
5 struct s {
6 s();
7 static int a;
8 };
9 s::s() {}
10 // { dg-final { scan-assembler {.weak[^\n]*_ZGVN1x1bE} } }
11 struct s __attribute__((weak)) b = s();
12 }