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 int 10 sum (int a, int b) 11 { 12 int result = a + b; // Set a breakpoint here 13 return result; 14 } 15 16 int 17 main(int argc, char const *argv[]) 18 { 19 20 int array[3]; 21 22 array[0] = sum (1238, 78392); 23 array[1] = sum (379265, 23674); 24 array[2] = sum (872934, 234); 25 26 return 0; 27 } 28