]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add new test for parsing errors on self pointers
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Wed, 15 Nov 2023 12:53:23 +0000 (13:53 +0100)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Tue, 21 Nov 2023 09:19:08 +0000 (09:19 +0000)
commit9735aca65a40fe1f45ba4c63f8a1d0afca4a3885
tree9a26dd413aca621bcda36ef7c818afd8828a9bc4
parentd2f2f68a8d9d3ce71e97fb586318445d7e7cd984
Add new test for parsing errors on self pointers

Add new tests to highlight the behavior of errors thrown when meeting a
self pointer.

gcc/testsuite/ChangeLog:

* rust/compile/self_const_ptr.rs: New test.
* rust/compile/self_mut_ptr.rs: New test.
* rust/compile/self_ptr.rs: New test.

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