Redeclaring C structs should error #38
OpenLabels
View project labels
Bug
Status: Confirmed
Unit: Checker
complex
Tasks
Time tracking
Estimate: 0 minutes · Spent: 0 minutes
Related issues
<!-- Please make sure to run v up before reporting any issues as it may have already been fixed.
It's also advisable to update all relvant modules using v outdated and v install -->
<!-- You can use v doctor to fill up the next fields -->
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