Sign in
skia
/
skia.git
/
13a34d08d9d152f77009ca493e873e9de35da3d8
/
.
/
resources
/
sksl
/
errors
/
StructRedefinition.rts
blob: 4fb4f389e7e21c1e5741b0e85bf7b04bdef1bc34 [
file
] [
log
] [
blame
]
struct
S
{
int
disallowed
[];
}
x
;
struct
S
{}
y
;
bool
fn
()
{
return
x
!=
y
;
}
/*%%*
unsized arrays are not permitted here
struct 'S' must contain at least one field
symbol 'S' was already defined
type mismatch: '!=' cannot operate on 'S', 'S'
*%%*/