Skip to content

Commit

Permalink
gccrs: add test case to show issue is fixed
Browse files Browse the repository at this point in the history
Fixes #266

gcc/testsuite/ChangeLog:

	* rust/compile/nr2/exclude: nr2 cant handle this
	* rust/compile/issue-266.rs: New test.

Signed-off-by: Philip Herron <[email protected]>
  • Loading branch information
philberty committed Dec 2, 2024
1 parent fa93e28 commit 2706bd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gcc/testsuite/rust/compile/issue-266.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
'label: while break 'label {}
}
1 change: 1 addition & 0 deletions gcc/testsuite/rust/compile/nr2/exclude
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,5 @@ issue-2905-1.rs
issue-2905-2.rs
issue-2907.rs
issue-2423.rs
issue-266.rs
# please don't delete the trailing newline

0 comments on commit 2706bd5

Please sign in to comment.