summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-89387.C
blob: 943ebc943737251780be08871e9bf35193028d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/89387
// { dg-do compile { target c++11 } }

template <template <typename, typename> class T>
struct S {
  using A = int;
  using B = T<unsigned, A>;
  using B::foo;
  void bar () { [&] { foo (); }; }
  void foo ();
};