#include "../kit_test/test.h" #include #include /* FIXME * MSVC tests fail in GitHub Actions. */ TEST("c++ exception") { throw std::exception(); } TEST("abort") { abort(); } TEST("invalid access") { *(volatile int *) nullptr = 42; } int main(int argc, char **argv) { #ifndef _MSC_VER if (run_tests(argc, argv) != 1) return 1; #endif return 0; }