Skip to content

Commit

Permalink
test: Remove a workaround for an old clang version
Browse files Browse the repository at this point in the history
  • Loading branch information
mstorsjo committed Mar 14, 2022
1 parent 7ff4a34 commit e9e53d5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/global-terminate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ void whoa() {
}

int main(int argc, char *argv[]) {
#if defined(__aarch64__) && defined(__clang__) && __clang_major__ < 12
// This test succeeds with latest clang (since 20f7773bb4bb458, Sept 2020,
// on the clang 12.0 branch), but fails before that.
return 0;
#else
::std::set_terminate(whoa);
throw 42;
#endif
}

0 comments on commit e9e53d5

Please sign in to comment.