From: Jyotsna Verma <jverma@codeaurora.org>
Date: Thu, 11 Apr 2013 18:56:34 +0000 (+0000)
Subject: Exclude test30 of Sema/return.c for Hexagon since setjmp.h include file
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9adcf1c96cb18c99ff62aedb1aa41da3966d17b9;p=clang

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
---

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)));