| 1 |
// Test for propagation of anonymous namespace internal linkage |
| 2 |
|
| 3 |
// { dg-do compile } |
| 4 |
// { dg-final { scan-assembler-not "globl.*_Z1fv" { xfail *-*-aix* } } } |
| 5 |
// { dg-require-visibility "" } |
| 6 |
|
| 7 |
namespace |
| 8 |
{ |
| 9 |
struct A { }; |
| 10 |
} |
| 11 |
|
| 12 |
A f () { return A(); } |