(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
contracts/
except_preload_handler/
assert_fail.cpp
#include <iostream>
#include <contract>

int fun() {
	int x = 0;
	[[ assert: x < 0 ]];

	return 0;
}

int main(int argc, char**) {
	try {
		fun();
	} catch(int &ex) {
		std::cerr << "synth caught indirect: " << ex << std::endl;
	}

	return 0;
}