summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2010-01-18-Inlined-Debug.c
blob: d763744d508b0422fba8e10cc3ecb0d9faefb04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR: 6058
// RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm %s -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);
}