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