77e2b9f9a0
* Make checkers be disabled by default * Allow running checkers in test launcher
18 lines
388 B
C++
18 lines
388 B
C++
/*
|
|
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
|
* that can be found in the LICENSE file.
|
|
*/
|
|
|
|
#include "testlib_api.h"
|
|
|
|
#include <thread>
|
|
|
|
int main() {
|
|
std::thread t([]() {
|
|
testlib_symbols()->kotlin.root.enableMemoryChecker();
|
|
testlib_symbols()->kotlin.root.leakMemory();
|
|
});
|
|
t.join();
|
|
return 0;
|
|
}
|