1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests/backtrace_test.v
2020-04-12 01:41:26 +02:00

12 lines
127 B
V

/*
Test for backtrace capability
*/
fn a_method() {
print_backtrace()
}
fn test_backtrace() {
a_method()
// panic('hi')
}