aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-06 06:38:25 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-06 06:54:23 +0200
commitbe9a3e693e019ab4797ea093bedde3ca39398e6e (patch)
tree86f93a5271d936cbecab25e7f031216663902bb9 /tests
parent53197b51e5edbb1b195070523dbfd8d9ba05d847 (diff)
downloadliberty-be9a3e693e019ab4797ea093bedde3ca39398e6e.tar.gz
liberty-be9a3e693e019ab4797ea093bedde3ca39398e6e.tar.xz
liberty-be9a3e693e019ab4797ea093bedde3ca39398e6e.zip
lxdrgen-swift: fix warnings with exhaustive unions
Diffstat (limited to 'tests')
-rw-r--r--tests/lxdrgen.lxdr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lxdrgen.lxdr b/tests/lxdrgen.lxdr
index 6c53de5..41973f8 100644
--- a/tests/lxdrgen.lxdr
+++ b/tests/lxdrgen.lxdr
@@ -20,4 +20,9 @@ struct Struct {
case NOTHING:
void;
} u<>;
+
+ union Onion switch (Enum tag) {
+ case NOTHING:
+ void;
+ } o;
};