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.cc | |
parent | e0f06c7fb2c59ab1154a4aba92cb885b1342a2fc (diff) |
Add failing regression test for #1973.
Diffstat (limited to 'bindgen-integration/cpp/Test.cc')
-rw-r--r-- | bindgen-integration/cpp/Test.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bindgen-integration/cpp/Test.cc b/bindgen-integration/cpp/Test.cc index 240109bb..71a0a4b9 100644 --- a/bindgen-integration/cpp/Test.cc +++ b/bindgen-integration/cpp/Test.cc @@ -135,3 +135,12 @@ Seventh::assert(bool first, int my_prefixed_function_name() { return 4; } + +Coord coord(double x, double y, double z, double t) { + Coord res; + res.v[0] = x; + res.v[1] = y; + res.v[2] = z; + res.v[3] = t; + return res; +} |