]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: 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)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 8 Apr 2025 08:17:19 +0000 (10:17 +0200)
commit7ae95869c83ae3ff23c97292a43bedbfe3387364
tree95e234ef4c2a3021b4899f63610576d943ba9af4
parentfb890cd43bc158af37fea846c423e069a90a9436
gccrs: 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