summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/lambdas/main.cpp
blob: 5870c877f4a99a89b7e91a254d69a4b5da637d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include <stdio.h>

int main (int argc, char const *argv[])
{
    printf("Stop here\n"); //% self.runCmd("expression auto $add = [](int first, int second) { return first + second; }")
                           //% self.expect("expression $add(2,3)", substrs = ['= 5'])
    return 0;
}
OpenPOWER on IntegriCloud