Array declared and set in header
Open
- Dominant language
- C
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
(1053) DATA opdict+96(SB)/8,$.string<2>+48(SB)
getpid: multiple initialization
```
> #include
> #include
>
> enum {
> Add,
> Sub,
> };
>
> typedef struct Dict Dict;
> struct Dict {
> Rune* key;
> int id;
> };
>
> Dict opdict[] = {
> L"+", Add,
> L"-", Sub,
> nil, -1
> };
>
> void
> main(int, char*[])
> {
> print("zero ⇒ %S\n", opdict[0].key);
>
> exits(nil);
> }
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.