1// Test that we define A inside the namespace rather than declaring it
2// there and then defining it at CU scope.
3// { dg-options "-g -dA -fno-debug-types-section" }
4// { dg-final { scan-assembler-not "DW_AT_declaration" } }
5
6namespace N {
7  struct A;
8}
9
10struct N::A { } a;
11