summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/auto17.C
blob: 03608d33ac63a7482919d7ac83fd57e21f834de8 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/42567
// { dg-options "-std=c++0x" }

template<typename B>
struct A {
  template<typename C>
  void fn(C c) {
    auto& key = *c;
  }
};