public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8050] gccrs: Add new regression test
@ 2024-01-16 18:14 Arthur Cohen
0 siblings, 0 replies; only message in thread
From: Arthur Cohen @ 2024-01-16 18:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3d43c98bf857c42ec533cc605f157b8431aa1b4c
commit r14-8050-g3d43c98bf857c42ec533cc605f157b8431aa1b4c
Author: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Date: Mon Oct 16 14:21:42 2023 +0200
gccrs: Add new regression test
Add a new test to highlight fix of #2658.
gcc/testsuite/ChangeLog:
* rust/compile/while_break_expr.rs: New test.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diff:
---
gcc/testsuite/rust/compile/while_break_expr.rs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/testsuite/rust/compile/while_break_expr.rs b/gcc/testsuite/rust/compile/while_break_expr.rs
new file mode 100644
index 00000000000..099683e45de
--- /dev/null
+++ b/gcc/testsuite/rust/compile/while_break_expr.rs
@@ -0,0 +1,3 @@
+fn main() {
+ let _ = 'l: while break 'l {};
+}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-16 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-16 18:14 [gcc r14-8050] gccrs: Add new regression test Arthur Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).