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