From be9a3e693e019ab4797ea093bedde3ca39398e6e Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 6 Jul 2023 06:38:25 +0200 Subject: lxdrgen-swift: fix warnings with exhaustive unions --- tests/lxdrgen.lxdr | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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; }; -- cgit v1.2.3-70-g09d2