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:
parent
60b3658e6f
commit
91a1a2877b
@ -27,3 +27,10 @@ type Expr = IfExpr | IntegerLiteral
|
||||
fn exprs(e []Expr) {
|
||||
println(e.len)
|
||||
}
|
||||
|
||||
struct KeepStructEmbed {
|
||||
User
|
||||
pub:
|
||||
a int
|
||||
b int
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user