diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-25 17:47:38 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-25 17:47:38 +0100 |
| commit | 71f24eac2de498b76994d901092c56bbfca5a067 (patch) | |
| tree | bad7956606976df217fa3c70f55068178f718e03 /examples/11-transient-0/src | |
| parent | 5de41ad211a542ce1ae26a1db3f219b1aaf4c9f4 (diff) | |
Test shared value of sum and variant in java-transient-0
Diffstat (limited to 'examples/11-transient-0/src')
| -rw-r--r-- | examples/11-transient-0/src/data.hob | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/11-transient-0/src/data.hob b/examples/11-transient-0/src/data.hob index abe9552..9c715e9 100644 --- a/examples/11-transient-0/src/data.hob +++ b/examples/11-transient-0/src/data.hob @@ -71,3 +71,8 @@ struct StructWithDifferentSharedTypes { field b: Shared[StructWithInt64]; field c: Shared[StructWithInt32]; } + +struct StructWithSharedSumAndVariant { + field a: Shared[SumWithVariants]; + field b: Shared[VariantOne]; +} |
