]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: abi: Add testcase for using "Rust" as ABI string
authorArthur Cohen <arthur.cohen@embecosm.com>
Fri, 30 Jun 2023 14:40:17 +0000 (16:40 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:49:29 +0000 (18:49 +0100)
gcc/testsuite/ChangeLog:

* rust/compile/rust_abi.rs: New test.

gcc/testsuite/rust/compile/rust_abi.rs [new file with mode: 0644]

diff --git a/gcc/testsuite/rust/compile/rust_abi.rs b/gcc/testsuite/rust/compile/rust_abi.rs
new file mode 100644 (file)
index 0000000..ec9dc0d
--- /dev/null
@@ -0,0 +1 @@
+pub fn f(_: extern "Rust" fn()) {}