| 1 |
// PR c++/21581 |
| 2 |
// Test for anonymous namespace internal linkage |
| 3 |
|
| 4 |
// { dg-do compile } |
| 5 |
// { dg-final { scan-assembler-not "globl.*_ZN.*1fEv" { xfail *-*-aix* } } } |
| 6 |
// { dg-require-visibility "" } |
| 7 |
|
| 8 |
namespace |
| 9 |
{ |
| 10 |
int f() { return 0; } |
| 11 |
} |