Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Jan 6, 2025
1 parent 01e7b6a commit ff2ddf0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vlib/v/slow_tests/inout/thread_uninitialized_err.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
================ V panic ================
V panic: unable to join thread
10 changes: 10 additions & 0 deletions vlib/v/slow_tests/inout/thread_uninitialized_err.vv
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
struct Client {
mut:
network_thread thread
}

fn main() {
mut client := &Client{}
println('================ V panic ================')
client.network_thread.wait()
}

0 comments on commit ff2ddf0

Please sign in to comment.