summaryrefslogtreecommitdiff
path: root/tests/headers/complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/complex.h')
-rw-r--r--tests/headers/complex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/headers/complex.h b/tests/headers/complex.h
new file mode 100644
index 00000000..ad7af59f
--- /dev/null
+++ b/tests/headers/complex.h
@@ -0,0 +1,13 @@
+
+#define COMPLEX_TEST(ty_) \
+ struct Test##ty_ { \
+ ty_ _Complex mMember; \
+ \
+ }; \
+ struct Test##ty_##Ptr { \
+ ty_ _Complex* mMember; \
+ };
+
+COMPLEX_TEST(double)
+COMPLEX_TEST(float)
+COMPLEX_TEST(int)