summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2008-05-19-AlwaysInline.c
blob: 8dcb57b1862e745dcbba88bda105d38420a7894a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc %s -S -fno-unit-at-a-time -O0 -o - | not grep sabrina
// RUN: %llvmgcc %s -S -funit-at-a-time -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;
}
OpenPOWER on IntegriCloud