Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
debug
/
tests
/
comptime_variant.expect
13
lines
·
12
sloc
·
274 bytes
·
9092d7fd647c8e8d2239da6bf5c8931b4400b592
Raw
1
#!/usr/bin/env expect
2
source "common.tcl"
3
4
expect "Break on * comptime_variant in ${test_file}:6"
5
expect "${test_file}:6 vdbg> "
6
send "p arg\n"
7
expect "arg = 0 (int)"
8
send "c\n"
9
expect "${test_file}:6 vdbg> "
10
send "p arg\n"
11
expect "arg = foo (string)"
12
send "q\n"
13
expect eof
14