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 void bar(int const *foo) {
10   __builtin_trap(); // Set break point at this line.
11 }
12 
13 int main() {
14   int foo = 5;
15   bar(&foo);
16 }
17