1// PR c++/57573
2
3struct A { };
4struct B { A a; };
5
6void f(A*) { }
7
8template<class T>
9void g()
10{
11  B b;
12  f(&(b.a));
13}
14