diff options
Diffstat (limited to 'tests/ui/issues/issue-73112.rs')
-rw-r--r-- | tests/ui/issues/issue-73112.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-73112.rs b/tests/ui/issues/issue-73112.rs new file mode 100644 index 000000000..cc7be9c95 --- /dev/null +++ b/tests/ui/issues/issue-73112.rs @@ -0,0 +1,13 @@ +// aux-build:issue-73112.rs + +extern crate issue_73112; + +fn main() { + use issue_73112::PageTable; + + #[repr(C, packed)] + struct SomeStruct { + //~^ ERROR packed type cannot transitively contain a `#[repr(align)]` type [E0588] + page_table: PageTable, + } +} |