summaryrefslogtreecommitdiff
path: root/tests/headers/issue-1443.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/issue-1443.hpp')
-rw-r--r--tests/headers/issue-1443.hpp21
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;
+};