1 | namespace std { |
---|---|
2 | void recursively_aborts(int depth) { |
3 | if (depth == 0) |
4 | __builtin_verbose_trap("Error", "max depth"); |
5 | |
6 | recursively_aborts(depth: --depth); |
7 | } |
8 | } // namespace std |
9 | |
10 | int main() { |
11 | std::recursively_aborts(depth: 256); |
12 | return 0; |
13 | } |
14 |