1 // #[test] attribute is not allowed on associated functions or methods
2 // reworded error message
3 // compile-flags:--test
10 //~^ ERROR `#[test]` attribute is only allowed on non associated functions
14 fn recovery_witness() -> A {
15 //~^ ERROR `#[test]` attribute is only allowed on non associated functions