summaryrefslogtreecommitdiff
path: root/tolua/src/tests/tenum.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'tolua/src/tests/tenum.pkg')
-rw-r--r--tolua/src/tests/tenum.pkg13
1 files changed, 13 insertions, 0 deletions
diff --git a/tolua/src/tests/tenum.pkg b/tolua/src/tests/tenum.pkg
new file mode 100644
index 0000000..9e90cc4
--- /dev/null
+++ b/tolua/src/tests/tenum.pkg
@@ -0,0 +1,13 @@
+$#include "tenum.h"
+
+enum Order {
+ FIRST,
+ SECOND
+};
+
+typedef enum {
+ FALSE,
+ TRUE
+} Status;
+
+Status checkenum (Order o);