aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-04-11 18:56:34 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-04-11 18:56:34 +0000
commit9adcf1c96cb18c99ff62aedb1aa41da3966d17b9 (patch)
tree6c858574521750a7e2bcccef0ceb3ec780d38921
parentf6f77bd900ccc847c6601a34457c8b5f3cb48219 (diff)
Exclude test30 of Sema/return.c for Hexagon since setjmp.h include file
is unavailable for Hexagon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179310 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/return.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/return.c b/test/Sema/return.c
index e231e81b09..ddd99a3272 100644
--- a/test/Sema/return.c
+++ b/test/Sema/return.c
@@ -197,6 +197,7 @@ int test29() {
exit(1);
}
+#ifndef __hexagon__
#include <setjmp.h>
jmp_buf test30_j;
int test30() {
@@ -209,6 +210,7 @@ int test30() {
_longjmp(test30_j, 1);
#endif
}
+#endif
typedef void test31_t(int status);
void test31(test31_t *callback __attribute__((noreturn)));