r179310 - Exclude test30 of Sema/return.c for Hexagon since setjmp.h include file

Jyotsna Verma jverma at codeaurora.org
Thu Apr 11 11:56:34 PDT 2013


Author: jverma
Date: Thu Apr 11 13:56:34 2013
New Revision: 179310

URL: http://llvm.org/viewvc/llvm-project?rev=179310&view=rev
Log:
Exclude test30 of Sema/return.c for Hexagon since setjmp.h include file
is unavailable for Hexagon.

Modified:
    cfe/trunk/test/Sema/return.c

Modified: cfe/trunk/test/Sema/return.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/return.c?rev=179310&r1=179309&r2=179310&view=diff
==============================================================================
--- cfe/trunk/test/Sema/return.c (original)
+++ cfe/trunk/test/Sema/return.c Thu Apr 11 13:56:34 2013
@@ -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)));





More information about the cfe-commits mailing list