summaryrefslogtreecommitdiffstats
path: root/src/seastar/cmake/code_tests/Sanitizers_fiber_test.cc
blob: 9df531f2675f8f834ce3d8bcfe87db5cb4d6e0a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <cstddef>

extern "C" {
    void __sanitizer_start_switch_fiber(void**, const void*, size_t);
    void __sanitizer_finish_switch_fiber(void*, const void**, size_t*);
}

int main() {
    __sanitizer_start_switch_fiber(nullptr, nullptr, 0);
    __sanitizer_finish_switch_fiber(nullptr, nullptr, nullptr);
}