]> granicus.if.org Git - clang/commitdiff
Exclude test30 of Sema/return.c for Hexagon since setjmp.h include file
authorJyotsna Verma <jverma@codeaurora.org>
Thu, 11 Apr 2013 18:56:34 +0000 (18:56 +0000)
committerJyotsna Verma <jverma@codeaurora.org>
Thu, 11 Apr 2013 18:56:34 +0000 (18:56 +0000)
is unavailable for Hexagon.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179310 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/return.c

index e231e81b097f64b85363e8a746068034f41ad172..ddd99a3272c791ecb3852dd9d23a0f6838403fb1 100644 (file)
@@ -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)));