diff options
| author | 2022-09-01 11:26:02 +0200 | |
|---|---|---|
| committer | 2022-09-01 11:26:02 +0200 | |
| commit | 55abd40aa95d36167950823bf77f4bf24c403102 (patch) | |
| tree | bc35737d607d14e402c2f97e3ec716bd94abc4c7 /test/3.cff | |
| parent | c8a3e8a84abac37252707646a16e554173496c2b (diff) | |
disallow duplicate fields
Diffstat (limited to 'test/3.cff')
| -rw-r--r-- | test/3.cff | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,7 @@ bitfield ColorMaskFlags : u32 { blue 1 bool, alpha 1 bool, id (8,3), + // red 1, }; struct Foo { @@ -13,6 +14,7 @@ struct Foo { y f32, z union { p *void, i int }, h enum union { fa, ga *void }, + // x *void, } static foo Foo = { .z: { .i: 42 }, .h: :ga(&stderr) }; |