(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
torture/
phantom_data.rs
// { dg-options "-w" }
#[lang = "phantom_data"]
struct PhantomData<T>;

trait Hash {
    fn hash<H>(&self, state: &mut H);
}

impl<T> Hash for PhantomData<T> {
    fn hash<H>(&self, state: &mut H) {}
}