1 // RUN: %clang_cc1 -triple i686-windows-msvc -emit-llvm -std=c++11 -o - %s | FileCheck %s
3 // Make sure that we emit H's constructor twice: once with the first lambda
4 // inside of 'lep' and again with the second lambda inside of 'lep'.
5 // CHECK-DAG: @"??0?$H@V<lambda_1>@?0???$lep@X@@YAXXZ@@@QAE@XZ"
6 // CHECK-DAG: @"??0?$H@V<lambda_2>@?0???$lep@X@@YAXXZ@@@QAE@XZ"
13 template <typename Fx
>
14 int K_void(const Fx
&) {
18 template <typename Fx
>
19 int K_int(const Fx
&) {
32 pair
x(K_void([] {}), K_int([] {}));