mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
11 lines
171 B
C++
11 lines
171 B
C++
|
#include <exception>
|
||
|
#include <stdexcept>
|
||
|
|
||
|
int main() {
|
||
|
try {
|
||
|
throw 2;
|
||
|
} catch (int) {
|
||
|
std::throw_with_nested(std::runtime_error("test"));
|
||
|
}
|
||
|
}
|