diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-12 02:18:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-12 02:18:38 +0000 |
commit | e8551e4abd314053b45f10f22fa69fb6f8e8b449 (patch) | |
tree | 85a3f5839dcc17ada705f056ad67db62c6b09cf9 | |
parent | 80638c5e6395344c1e6096542b0ff3b8bfb2139e (diff) |
fix PR6287 by accepting and ignoring the returns_twice attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101005 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Parser/attributes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Parser/attributes.c b/test/Parser/attributes.c index ca606f5391..b2873638cd 100644 --- a/test/Parser/attributes.c +++ b/test/Parser/attributes.c @@ -52,3 +52,7 @@ int foo42(void) { void __attribute__((noreturn)) d0(void), __attribute__((noreturn)) d1(void); void d2(void) __attribute__((noreturn)), d3(void) __attribute__((noreturn)); + + +// PR6287 +void __attribute__((returns_twice)) returns_twice_test(); |