diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-03-06 14:16:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 14:16:22 +0100 |
commit | 185a5f322e973b60f8d0986672f9a88e5d9a07bd (patch) | |
tree | 4fa6d49cb0270b3e1c55ef27b74838f2a1569814 /tests/headers/issue-1443.hpp | |
parent | 3a6864cf9a76916c002c41a8ae813d9f8bd9853e (diff) | |
parent | 9b6d0e84b432d95b3bfdf5a19b8abadde768489c (diff) |
Merge pull request #1531 from emilio/ref-layoutv0.48.1
Work around a libclang bug / limitation.
Diffstat (limited to 'tests/headers/issue-1443.hpp')
-rw-r--r-- | tests/headers/issue-1443.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/headers/issue-1443.hpp b/tests/headers/issue-1443.hpp new file mode 100644 index 00000000..9b637ba7 --- /dev/null +++ b/tests/headers/issue-1443.hpp @@ -0,0 +1,21 @@ +struct Foo; + +struct Bar { + const Foo& f; + unsigned m; +}; + +struct Baz { + Foo& f; + unsigned m; +}; + +struct Tar { + const Foo&& f; + unsigned m; +}; + +struct Taz { + Foo&& f; + unsigned m; +}; |