commit | 521c3a31cbfd9834ef859ef75f5e7e2702a0e675 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Apr 10 22:14:52 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Apr 10 22:14:52 2009 +0000 |
tree | c55d3de42fa0805ccfdfffef953e2acdbafa7535 | |
parent | 9a1c029d139454f15270d4a2a9f993c97a29c5c5 [diff] [blame] |
Don't set both readnone and readonly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68833 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/function-attributes.c b/test/CodeGen/function-attributes.c index 373eb63..a12111e 100644 --- a/test/CodeGen/function-attributes.c +++ b/test/CodeGen/function-attributes.c
@@ -43,4 +43,8 @@ return arg ? 0 : f10_t(); } +// RUN: grep 'define void @f13() nounwind readnone' %t && +void f13(void) __attribute__((pure)) __attribute__((const)); +void f13(void){} + // RUN: true