aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2008-05-19-AlwaysInline.c
blob: 419951b1594f8b15d02c43d1b8db4bf4df7fc7c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 %s -emit-llvm -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;
}