commit | addb0f69580cd4ae7c61219e126e68ec6aa3c234 | [log] [tgz] |
---|---|---|
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | Thu Oct 29 00:10:42 2009 +0000 |
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | Thu Oct 29 00:10:42 2009 +0000 |
tree | 0737da80f6480486fc1c201c7b81e8d993a2f593 | |
parent | ed9c0f90b7e0811c209b95e39fe07c211c531285 [diff] [blame] |
Fix some Window-isms to get these tests to pass on Windows. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85450 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/return.c b/test/Sema/return.c index 64def30..cdd3105 100644 --- a/test/Sema/return.c +++ b/test/Sema/return.c
@@ -203,7 +203,11 @@ if (j) longjmp(test30_j, 1); else +#if defined(_WIN32) || defined(_WIN64) + longjmp(test30_j, 2); +#else _longjmp(test30_j, 1); +#endif } typedef void test31_t(int status);