gccrs: Add a test for inherent impl type name resolve
commit8d0a6e905ea44fb1cb4bad9c026e03fa07aed8d1
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 18 Apr 2024 20:39:47 +0000 (18 22:39 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 1 Aug 2024 14:52:31 +0000 (1 16:52 +0200)
tree2cd42eab570d0e55a7d90d1b47ce1fdc57fe00af
parent89ba071d8dfd67bac0f3f3eb601fe681e9793cb7
gccrs: 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]