Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
debug
/
tests
/
struct_heap.expect
10
lines
·
9
sloc
·
239 bytes
·
76ae040f71b92ca5e67e14a53dc016bb36e73de6
Raw
1
#!/usr/bin/env expect
2
source "common.tcl"
3
4
expect "Break on * main in ${test_file}:8"
5
expect "${test_file}:8 vdbg> "
6
send "p st\n"
7
expect "st = AStruct{\r\n a: 1\r\n} (main.AStruct)"
8
expect "${test_file}:8 vdbg> "
9
send "q\n"
10
expect eof
11