llvm-for-llvmta/tools/clang/test/CodeGen/2010-01-18-Inlined-Debug.c

13 lines
234 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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);
}