// { dg-do assemble } namespace A { int i = 1; } int j = i; // { dg-error "" }