test: Remove a workaround for an old clang version
This commit is contained in:
1 parent
7ff4a34668
commit
e9e53d581d
1 file changed
-6
@@ -26,12 +26,6 @@ void whoa() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
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);
|
::std::set_terminate(whoa);
|
||||||
throw 42;
|
throw 42;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user