summaryrefslogtreecommitdiff
path: root/bindgen-integration/cpp/Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r--bindgen-integration/cpp/Test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bindgen-integration/cpp/Test.h b/bindgen-integration/cpp/Test.h
index 7605d9f0..51a6e4b8 100644
--- a/bindgen-integration/cpp/Test.h
+++ b/bindgen-integration/cpp/Test.h
@@ -226,3 +226,9 @@ struct my_prefixed_templated_foo {
my_prefixed_templated_foo<my_prefixed_baz> TEMPLATED_CONST_VALUE;
void my_prefixed_function_to_remove();
+
+typedef union {
+ double v[4];
+} Coord;
+
+Coord coord(double x, double y, double z, double t);