diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-06-30 16:40:17 +0200 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-06-30 17:12:24 +0000 |
commit | 9d3f1985720417f969b1156871e9244a21490e43 (patch) | |
tree | 1d39d972d0e701778133dd36bfc013c7dbd64997 /gcc | |
parent | 1db82e8886d5704f0f3948f74b9f11c13bc80228 (diff) | |
download | gcc-9d3f1985720417f969b1156871e9244a21490e43.zip gcc-9d3f1985720417f969b1156871e9244a21490e43.tar.gz gcc-9d3f1985720417f969b1156871e9244a21490e43.tar.bz2 |
abi: Add testcase for using "Rust" as ABI string
gcc/testsuite/ChangeLog:
* rust/compile/rust_abi.rs: New test.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/rust/compile/rust_abi.rs | 1 |
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()) {} |