about summary refs log tree commit diff
path: root/tests/pretty/hir-pretty-attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pretty/hir-pretty-attr.rs')
-rw-r--r--tests/pretty/hir-pretty-attr.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pretty/hir-pretty-attr.rs b/tests/pretty/hir-pretty-attr.rs
new file mode 100644
index 00000000000..eb5a677024a
--- /dev/null
+++ b/tests/pretty/hir-pretty-attr.rs
@@ -0,0 +1,7 @@
+//@ pretty-compare-only
+//@ pretty-mode:hir
+//@ pp-exact:hir-pretty-attr.pp
+
+#[repr(C, packed(4))]
+#[repr(transparent)]
+struct Example {}