// RUN: %clang_cc1 -std=c++1y %s -verify

// expected-no-diagnostics
namespace variadic_expansion {
  void f(int &, char &);

  template <typename ... T> void g(T &... t) {
    f([&a(t)]()->decltype(auto) {
      return a;
    }() ...);
  }

  void h(int i, char c) { g(i, c); }
}

Add extra testing for init-captures.
Add extra testing for init-captures.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@191608 91177308-0d34-0410-b5e6-96231b3b80d8
