[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / inline-builtin-comdat.c
blob059dd2d165c3ec31087962b3f0893e9c2046a166
1 // RUN: %clang_cc1 -triple x86_64-windows -emit-llvm -disable-llvm-passes %s -o - | FileCheck %s
2 // Inline builtin are not supported for odr linkage
3 // CHECK-NOT: .inline
5 double __cdecl frexp( double _X, int* _Y);
6 inline __attribute__((always_inline)) long double __cdecl frexpl( long double __x, int *__exp ) {
7 return (long double) frexp((double)__x, __exp );
10 long double pain(void)
12 long double f = 123.45;
13 int i;
14 long double f2 = frexpl(f, &i);
15 return f2;