v2 / vlib / v / debug / tests / smartcast.expect
9 lines · 8 sloc · 178 bytes · 5310c102a6b62144bc08274884ca3e681ceb1296
Raw
1#!/usr/bin/env expect
2source "common.tcl"
3
4expect "Break on * smartcast in ${test_file}:3"
5expect "${test_file}:3 vdbg> "
6send "p a\n"
7expect "a = 1 (int)"
8send "q\n"
9expect eof
10