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 struct Pair { 10 int x; 11 int y; 12 13 Pair(int _x, int _y) : x(_x), y(_y) {} 14 }; 15 16 int main() { 17 Pair p1(3,-3); 18 return p1.x + p1.y; // Set break point at this line. 19 } 20