aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-06-30 16:40:17 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:49:29 +0100
commitfae1e3bcef1a24321c720ed14011363a7aae06fd (patch)
treeef03fa230349ccbf642a1e1b00434501fc767b9b
parente6c44bae4e3ab962aed6354830d0fdc74dd2c49b (diff)
downloadgcc-fae1e3bcef1a24321c720ed14011363a7aae06fd.zip
gcc-fae1e3bcef1a24321c720ed14011363a7aae06fd.tar.gz
gcc-fae1e3bcef1a24321c720ed14011363a7aae06fd.tar.bz2
gccrs: abi: Add testcase for using "Rust" as ABI string
gcc/testsuite/ChangeLog: * rust/compile/rust_abi.rs: New test.
-rw-r--r--gcc/testsuite/rust/compile/rust_abi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/rust_abi.rs b/gcc/testsuite/rust/compile/rust_abi.rs
new file mode 100644
index 0000000..ec9dc0d
--- /dev/null
+++ b/gcc/testsuite/rust/compile/rust_abi.rs
@@ -0,0 +1 @@
+pub fn f(_: extern "Rust" fn()) {}