summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2010-01-18-Inlined-Debug.c
blob: cf00be7752cf9db9bc4b843bc9f168fb8a6331cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR: 6058
// RUN: %clang_cc1 -g -emit-llvm %s  -O0 -o /dev/null

static inline int foo(double) __attribute__ ((always_inline));
static inline int foo(double __x) { return __x; }

void bar(double x) {
  foo(x);
}