diff options
author | Corey Farwell <coreyf@rwell.org> | 2021-01-30 09:33:17 -0500 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-01-30 16:48:20 +0100 |
commit | c509ef12acd198ffdde2af02148002257b60912a (patch) | |
tree | 734bd980907b6066f14248a6f1ba7aa42fa117c7 /bindgen-integration/cpp/Test.h | |
parent | e0f06c7fb2c59ab1154a4aba92cb885b1342a2fc (diff) |
Add failing regression test for #1973.
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r-- | bindgen-integration/cpp/Test.h | 6 |
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); |