aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/2008-05-19-AlwaysInline.c
blob: 506f6cf9c509fae3cbd73f434c2f1a099d8fdf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc %s -S -fno-unit-at-a-time -emit-llvm -O0 -o - | not grep sabrina
// RUN: %llvmgcc %s -S -funit-at-a-time -emit-llvm -O0 -o - | not grep sabrina

static inline int sabrina (void) __attribute__((always_inline));
static inline int sabrina (void)
{
  return 13;
}
int bar (void)
{
  return sabrina () + 68;
}