diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-28 00:17:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-28 00:17:57 +0000 |
commit | af668b0e7d3581dea3b4f29a9262686e83887e5b (patch) | |
tree | add7786bd9fa6186a49745d88b23a1f832bfbc7f /test/CodeGen/function-attributes.c | |
parent | 83e61e566b493c53fad75d505ee60e978f5032a3 (diff) |
Add attribute always_inline support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/function-attributes.c')
-rw-r--r-- | test/CodeGen/function-attributes.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/function-attributes.c b/test/CodeGen/function-attributes.c index 1ee855dbc1..c09b2af9f4 100644 --- a/test/CodeGen/function-attributes.c +++ b/test/CodeGen/function-attributes.c @@ -6,7 +6,8 @@ // RUN: grep 'define signext i16 @f4(i32 %x) nounwind' %t && // RUN: grep 'define zeroext i16 @f5(i32 %x) nounwind' %t && // RUN: grep 'define void @f6(i16 signext %x) nounwind' %t && -// RUN: grep 'define void @f7(i16 zeroext %x) nounwind' %t +// RUN: grep 'define void @f7(i16 zeroext %x) nounwind' %t && +// RUN: grep 'define void @f8() nounwind alwaysinline' %t signed char f0(int x) { return x; } @@ -24,3 +25,4 @@ void f6(signed short x) { } void f7(unsigned short x) { } +void __attribute__((always_inline)) f8(void) { } |