aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/direct_map_alias_init_err.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/direct_map_alias_init_err.vv')
-rw-r--r--v_windows/v/vlib/v/checker/tests/direct_map_alias_init_err.vv5
1 files changed, 5 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/direct_map_alias_init_err.vv b/v_windows/v/vlib/v/checker/tests/direct_map_alias_init_err.vv
new file mode 100644
index 0000000..5921f5b
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/direct_map_alias_init_err.vv
@@ -0,0 +1,5 @@
+type WordSet = map[string]bool
+
+fn main() {
+ _ := WordSet{}
+}