1 //===-- main.cpp ------------------------------------------------*- C++ -*-===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #include <stdio.h> 10 11 int main (int argc, char const *argv[]) 12 { 13 printf("Stop here\n"); //% self.runCmd("expression auto $add = [](int first, int second) { return first + second; }") 14 //% self.expect("expression $add(2,3)", substrs = ['= 5']) 15 return 0; 16 } 17