(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
rustc_attr1.rs
// { dg-additional-options "-w" }

#![feature(rustc_attrs)]

pub struct NotI8(i8);

impl NotI8 {
    #[inline]
    #[rustc_inherit_overflow_checks]
    pub fn add(self, other: NotI8) -> NotI8 {
        NotI8(self.0 + other.0)
    }
}