ClickHouse/tests/queries/0_stateless/data_dwarf/tiny.cpp
Michael Kolupaev ce7eca0615
DWARF input format (#55450)
* Add ReadBufferFromFileBase::isRegularLocalFile()

* DWARF input format

* Review comments

* Changed things around ENABLE_EMBEDDED_COMPILER build setting

* Added 'ranges' column

* no-msan no-ubsan
2023-10-16 17:00:07 -07:00

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";
}