diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-06 11:37:50 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-11-09 15:39:45 +0000 |
commit | 25652e25b53c1a47162256dcf644d2f19f9b0966 (patch) | |
tree | e13962c9b5024489d66c659bd2ac358c6ee35b2e /gcc/rust/util/rust-attributes.cc | |
parent | 5b017d205abc809a428b082c6346e41552150fc8 (diff) | |
download | gcc-25652e25b53c1a47162256dcf644d2f19f9b0966.zip gcc-25652e25b53c1a47162256dcf644d2f19f9b0966.tar.gz gcc-25652e25b53c1a47162256dcf644d2f19f9b0966.tar.bz2 |
Add named variadic argument test
Variadic arguments may have a name or a pattern. This commit provides two
new tests in order to ensure their correct behavior.
gcc/testsuite/ChangeLog:
* rust/compile/pattern_variadic.rs: New test.
* rust/execute/torture/named_variadic.rs: New test.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/util/rust-attributes.cc')
0 files changed, 0 insertions, 0 deletions