summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/main.cpp
blob: 94d0a0415d755b3f56a13148e27bc7abb4ccab61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

int
main(int argc, char const *argv[])
{
    int a = 0;
    int b = 1;
    a = b + 1; // Set breakpoint here
    b = a + 1;
    return 0;
}

OpenPOWER on IntegriCloud