new testcase

llvm-svn: 7988
This commit is contained in:
Chris Lattner 2003-08-20 19:48:18 +00:00
parent e012dc065a
commit efbb117a4a

View File

@ -0,0 +1,21 @@
typedef enum
{
_URC_NO_REASON = 0,
_URC_FOREIGN_EXCEPTION_CAUGHT = 1,
_URC_FATAL_PHASE2_ERROR = 2,
_URC_FATAL_PHASE1_ERROR = 3,
_URC_NORMAL_STOP = 4,
_URC_END_OF_STACK = 5,
_URC_HANDLER_FOUND = 6,
_URC_INSTALL_CONTEXT = 7,
_URC_CONTINUE_UNWIND = 8
} _Unwind_Reason_Code;
int foo( _Unwind_Reason_Code X) {
return X;
}
int main() {
foo(_URC_END_OF_STACK);
return 0;
}