summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/visibility/anon2.C
blob: 1d8e479b9ff55aae04b50557326abee5498429dc (plain)
1
2
3
4
5
6
7
8
9
10
11
// Test for propagation of anonymous namespace internal linkage

// { dg-do compile }
// { dg-final { scan-assembler-not "globl.*_Z1fv" } }

namespace
{
  struct A { };
}

A f () { }