]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/lang/cpp/lambdas/main.cpp
Vendor import of lldb release_39 branch r276489:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / lang / cpp / lambdas / main.cpp
1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include <stdio.h>
11
12 int main (int argc, char const *argv[])
13 {
14     printf("Stop here\n"); //% self.runCmd("expression auto $add = [](int a, int b) { return a + b; }")
15                            //% self.expect("expression $add(2,3)", substrs = ['= 5'])
16     return 0;
17 }