Skip to content

Commit 1e715df

Browse files
committed
Previously this test emmited expected '('
gcc/testsuite/ChangeLog: * rust/compile/invalid_impl_for.rs: triggers check for identifier Signed-off-by: Lúcio Boari Fleury <[email protected]>
1 parent 68df7cf commit 1e715df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
impl Foo for
2+
fn main() {// { dg-error "unexpected token .identifier. - expected bare function" }
3+
// { dg-error "could not parse type in trait impl" "" { target *-*-* } .-1 }
4+
}

0 commit comments

Comments
 (0)