From: Arthur Cohen Date: Fri, 30 Jun 2023 14:40:17 +0000 (+0200) Subject: gccrs: abi: Add testcase for using "Rust" as ABI string X-Git-Tag: basepoints/gcc-15~2420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fae1e3bcef1a24321c720ed14011363a7aae06fd;p=thirdparty%2Fgcc.git gccrs: abi: Add testcase for using "Rust" as ABI string gcc/testsuite/ChangeLog: * rust/compile/rust_abi.rs: New test. --- diff --git a/gcc/testsuite/rust/compile/rust_abi.rs b/gcc/testsuite/rust/compile/rust_abi.rs new file mode 100644 index 000000000000..ec9dc0d419e4 --- /dev/null +++ b/gcc/testsuite/rust/compile/rust_abi.rs @@ -0,0 +1 @@ +pub fn f(_: extern "Rust" fn()) {}