vlang

/

v Public
0 commits 39 issues 0 pull requests 0 contributors Discussions Projects CI

Redeclaring C structs should error #38

V version: recent V OS: Windows 8

What did you do?

struct C.dirent {
    d_name [256]char
}

struct C.dirent {
    d_name byteptr
}

What did you expect to see? Error, redeclaration

What did you see instead? No error