gccrs: Add another test case for passing associated type-bounds
authorPhilip Herron <herron.philip@googlemail.com>
Thu, 12 Jan 2023 16:22:17 +0000 (16:22 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 6 Apr 2023 08:47:19 +0000 (10:47 +0200)
commit8d1d08cdbcf40897282d9ed20ccf70bf2c93427c
treeb2193071840e036daf2656c1078bb1f46245371a
parent4141941ae7bd126c31f09b0aa23bc8a14186f496
gccrs: Add another test case for passing associated type-bounds

This demonstrates that this also works for custom algebraic data types too.

gcc/testsuite/ChangeLog:

* rust/execute/torture/issue-1720-2.rs: New test.

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/testsuite/rust/execute/torture/issue-1720-2.rs [new file with mode: 0644]