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: llvm-symbolizer -print-address -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
21 RUN: llvm-symbolizer -inlining -print-address -pretty-print -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck --check-prefix="PRETTY" %s
25 #CHECK: {{[/\]+}}tmp{{[/\]+}}x.c:14:0
27 #PRETTY: {{[0x]+}}40054d: inctwo at {{[/\]+}}tmp{{[/\]+}}x.c:3:3
28 #PRETTY: (inlined by) inc at {{[/\]+}}tmp{{[/\]+}}x.c:7:0
29 #PRETTY (inlined by) main at {{[/\]+}}tmp{{[/\]+}}x.c:14:0