1 //===-- main.c --------------------------------------------------*- 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 #include <stdio.h> 10 11 // breakpoint set -n foo 12 // 13 // 14 int foo (int value) 15 { 16 printf ("I got the value: %d.\n", value); 17 return 0; 18 } 19 20 int main (int argc, char **argv) 21 { 22 foo (argc); 23 printf ("Hello there: %d.\n", argc); 24 return 0; 25 } 26