Skip to content

Commit a5edbe7

Browse files
P-E-Pphilberty
authored andcommitted
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 <[email protected]>
1 parent 44518d9 commit a5edbe7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fn main() {}
2+
3+
#[cfg(FALSE)]
4+
fn variadic(x: isize, ...) {}

0 commit comments

Comments
 (0)