gccrs
gccrs copied to clipboard
Converted Rust Test Case to DejaGnu
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