]> git.ipfire.org Git - thirdparty/gcc.git/commit
Adapt testcase to name resolution 2.0
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 2 Apr 2025 16:20:54 +0000 (18:20 +0200)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Mon, 7 Apr 2025 08:18:19 +0000 (08:18 +0000)
commita179c05f228cace7bcaba8c550e0550993ff5a46
tree9826f7d98b505abca68ccf8bb7091821640ee4da
parent429897c851b460b9256d96e3e504dfe15342d125
Adapt testcase to name resolution 2.0

Name resolution 2.0 behavior matches more closely rustc's behavior
and trying to prevent undeclared label error emission would break some
other test.

gcc/testsuite/ChangeLog:

* rust/compile/invalid_label_name.rs: Adapt test to nr2.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/testsuite/rust/compile/invalid_label_name.rs