gcc/testsuite/rust/compile/issue-2423.rs
raw| 1 | impl NonExistant { |
| 2 | // { dg-error "could not resolve" "" { target *-*-* } .-1 } |
| 3 | fn test() {} |
| 4 | } |
| 5 | |
| 6 | impl NotFound for NonExistant { |
| 7 | // { dg-error "could not resolve" "" { target *-*-* } .-1 } |
| 8 | fn test() {} |
| 9 | } |
| 10 | |
| 11 | trait A {} |
| 12 | |
| 13 | impl A for NotFound {} |
| 14 | // { dg-error "could not resolve" "" { target *-*-* } .-1 } |