// PR c++/42567 // { dg-do compile { target c++11 } } template struct A { template void fn(C c) { auto& key = *c; } };