From: Pierre-Emmanuel Patry Date: Mon, 23 Oct 2023 11:22:11 +0000 (+0200) Subject: Add a new regression test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5edbe7783225c086d566edefb74187a5c61d1ed;p=thirdparty%2Fgcc.git Add a new regression test This new test highlight the behavior of the new parser and it's ability to parse variadic rust functions. gcc/testsuite/ChangeLog: * rust/compile/parse_variadic_function.rs: New test. Signed-off-by: Pierre-Emmanuel Patry --- diff --git a/gcc/testsuite/rust/compile/parse_variadic_function.rs b/gcc/testsuite/rust/compile/parse_variadic_function.rs new file mode 100644 index 000000000000..bef111974704 --- /dev/null +++ b/gcc/testsuite/rust/compile/parse_variadic_function.rs @@ -0,0 +1,4 @@ +fn main() {} + +#[cfg(FALSE)] +fn variadic(x: isize, ...) {}