mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +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";
|
||
|
}
|