// Test for the warning of exposing types from an anonymous namespace// { dg-do compile }//#include<memory>#include"anonymous-namespace-3.h"structB{std::auto_ptr<A>p;};#line 10 "foo.C"structC// { dg-warning "uses the anonymous namespace" }{std::auto_ptr<A>p;};