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