]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Fix enum import test
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 24 Sep 2019 17:24:07 +0000 (19:24 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 24 Sep 2019 17:24:12 +0000 (19:24 +0200)
tests/import/enum.c

index bdc84bbd188006f9275e1e4b4562dc9680874ce2..6cb9859c3371611f6f104030ca6cafa3861d5f5d 100644 (file)
@@ -37,7 +37,7 @@ GWION_IMPORT(enum_test) {
     CHECK_BB(gwi_enum_add(gwi, "TYPED_ENUM9", 9))
   CHECK_OB(gwi_enum_end(gwi))
 
-  Type t_enum;
+  Type t_myenum;
   CHECK_OB((t_myenum = gwi_mk_type(gwi, "Enum", 0, NULL)))
   CHECK_BB(gwi_class_ini(gwi, t_myenum, NULL, NULL))
     CHECK_BB(gwi_enum_ini(gwi, 0))