1 //===-- main.cpp ------------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 void bar(int const *foo) { 11 __builtin_trap(); // Set break point at this line. 12 } 13 14 int main() { 15 int foo = 5; 16 bar(&foo); 17 } 18