summaryrefslogtreecommitdiff
path: root/tests/scanner/regress.h
diff options
context:
space:
mode:
authorAlban Browaeys <prahal@yahoo.com>2012-07-24 15:34:24 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-08-03 13:57:28 +0200
commit0b3162bb981038027c3fcdfccff0767bedf25743 (patch)
tree3af360ae984b10da8059c0083ed5ec39f986ec28 /tests/scanner/regress.h
parent8b4d1acc40c03ddb0255b6a9f10ee5d731b39016 (diff)
downloadgobject-introspection-0b3162bb981038027c3fcdfccff0767bedf25743.tar.gz
Test typedef in #define
requires "handle unsigned properly for type of defined size" patch.
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r--tests/scanner/regress.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
index ce5d1dc2..511201b5 100644
--- a/tests/scanner/regress.h
+++ b/tests/scanner/regress.h
@@ -262,6 +262,9 @@ GQuark regress_atest_error_quark (void);
#define REGRESS_G_GINT64_CONSTANT (G_GINT64_CONSTANT (1000))
#define REGRESS_GUINT64_CONSTANT ((guint64) -1)
+typedef guint64 RegressTestTypeGUInt64;
+#define REGRESS_GUINT64_CONSTANTA ((RegressTestTypeGUInt64) -1)
+
/* structures */
typedef struct _RegressTestStructA RegressTestStructA;
typedef struct _RegressTestStructB RegressTestStructB;