llvm-project/clang/test/CodeGen/2010-01-18-Inlined-Debug.c

13 lines
234 B
C

// 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);
}