gccrs icon indicating copy to clipboard operation
gccrs copied to clipboard

Converted Rust Test Case to DejaGnu

Open MahadMuhammad opened this issue 1 week ago • 1 comments

A very simple PR to Investigate test case from https://github.com/rust-lang/rust/tree/master/tests/ui/anon-params. To convert this into equivalent Rust source file with dejagnu directives instead of ERROR directives


gcc/testsuite/ChangeLog:

* rust/compile/anon-params-denied-2018.rs: New test.
* rust/compile/anon-params-deprecated.rs: New test.

Details

Thanks to this email thread: https://patchwork.ozlabs.org/project/gcc/patch/[email protected]/. I was able to understand the relative line number. Otherwise, it would be difficult to stop dejagnu from shouting

MahadMuhammad avatar Jun 27 '24 12:06 MahadMuhammad