3 #static inline int inctwo (int *a) {
4 # printf ("%d\n",(*a)++);
7 #static inline int inc (int *a) {
8 # printf ("%d\n",inctwo(a));
18 #Build as : clang -g -O2 addr.c
20 RUN: mkdir -p %t/.debug
21 RUN: llvm-objcopy --keep-section=.debug_info %p/Inputs/addr.exe %t/.debug/addr
22 RUN: llvm-objcopy --strip-debug --add-gnu-debuglink=%t/.debug/addr %p/Inputs/addr.exe %t/addr.exe
23 RUN: llvm-symbolizer --print-address --obj=%t/addr.exe 0x40054d | FileCheck %s
26 #CHECK: {{[/\]+}}tmp{{[/\]+}}x.c:14:0