// PR c++/42567 // { dg-options "-std=c++0x" } template struct A { template void fn(C c) { auto& key = *c; } };