1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
29 int main(int argc, char const *argv[]) {
32 for (int i = 0; i < 1000; ++i) {
35 ptr[i]->point.y = i+1;
38 for (int i = 0; i < 1000; ++i) {
39 bool dump = argc > 1; // Set breakpoint here.
40 // Evaluate a couple of expressions (2*1000 = 2000 exprs):
41 // expr ptr[i]->point.x
42 // expr ptr[i]->point.y