]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add a test for inherent impl type name resolve
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 18 Apr 2024 20:39:47 +0000 (22:39 +0200)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Mon, 22 Apr 2024 16:00:27 +0000 (16:00 +0000)
commit5b6c98285583130072cfa9ce84cbfd357a58c267
tree9b877d5c844f203fc3e06e0b6ae6298aee41231a
parent973e60a2be6936d4909a9ccda1c9dce1e6eb1f4a
Add a test for inherent impl type name resolve

A previous bug with name resolution 2.0 was caused by an incorrectly
resolved inherent impl name. This test shall highlight the behavior
and prevent regression.

gcc/testsuite/ChangeLog:

* rust/compile/name_resolution25.rs: New test.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/testsuite/rust/compile/name_resolution25.rs [new file with mode: 0644]