aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/orm_empty_struct.vv
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/orm_empty_struct.vv')
-rw-r--r--v_windows/v/old/vlib/v/checker/tests/orm_empty_struct.vv11
1 files changed, 11 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/orm_empty_struct.vv b/v_windows/v/old/vlib/v/checker/tests/orm_empty_struct.vv
new file mode 100644
index 0000000..ba7b4e7
--- /dev/null
+++ b/v_windows/v/old/vlib/v/checker/tests/orm_empty_struct.vv
@@ -0,0 +1,11 @@
+import sqlite
+
+struct Person {
+}
+
+fn main() {
+ db := sqlite.connect(':memory:')?
+ _ := sql db {
+ select from Person
+ }
+}