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

10 lines
177 B
V

import v.token
struct Foo {
bar int | string | token.Pos | bool | u32
}
fn foo(arg int | string | token.Pos | bool | u32) int | string | token.Pos | bool | u32 {
return 1
}