1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: add a test for struct embed (#7831)

This commit is contained in:
zakuro 2021-01-03 23:41:19 +09:00 committed by GitHub
parent 60b3658e6f
commit 91a1a2877b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,3 +27,10 @@ type Expr = IfExpr | IntegerLiteral
fn exprs(e []Expr) {
println(e.len)
}
struct KeepStructEmbed {
User
pub:
a int
b int
}