☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
may_dangle.rs
☽
☼
gcc/testsuite/rust/compile/may_dangle.rs
code
plain
raw
1
// { dg-options "-fsyntax-only" }
2
3
#![feature(dropck_eyepatch)]
4
struct Test<T> {
5
_inner: T,
6
}
7
8
trait Action {}
9
10
unsafe impl<#[may_dangle] T> Action for Test<T> {}