v2 / vlib / v / debug / tests / struct_heap.expect
10 lines · 9 sloc · 239 bytes · 76ae040f71b92ca5e67e14a53dc016bb36e73de6
Raw
1#!/usr/bin/env expect
2source "common.tcl"
3
4expect "Break on * main in ${test_file}:8"
5expect "${test_file}:8 vdbg> "
6send "p st\n"
7expect "st = AStruct{\r\n a: 1\r\n} (main.AStruct)"
8expect "${test_file}:8 vdbg> "
9send "q\n"
10expect eof
11