mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
16 lines
343 B
C++
16 lines
343 B
C++
|
#include <thread>
|
||
|
#include <iostream>
|
||
|
#include <chrono>
|
||
|
using namespace std;
|
||
|
|
||
|
// Just an arbitrary program. We don't run it, just need its debug symbols.
|
||
|
|
||
|
int main() {
|
||
|
thread t([]{
|
||
|
this_thread::sleep_for(chrono::seconds(1));
|
||
|
throw "hi";
|
||
|
});
|
||
|
this_thread::sleep_for(chrono::seconds(10));
|
||
|
cout<<"unreachable\n";
|
||
|
}
|