about summary refs log tree commit diff
path: root/tests/ui/abi
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-06-06 23:07:41 -0700
committerJubilee Young <workingjubilee@gmail.com>2025-06-25 00:52:10 -0700
commit1400e2d9f519005161da91d8a1e88e54bc56acab (patch)
tree8f2bb1c4fb8c8a3c6b9e1c528566f37c553ba532 /tests/ui/abi
parent383d76106baa2042481de88dfff8ed2043ac50e6 (diff)
downloadrust-1400e2d9f519005161da91d8a1e88e54bc56acab.tar.gz
rust-1400e2d9f519005161da91d8a1e88e54bc56acab.zip
tests: s/C-cmse/cmse/
Diffstat (limited to 'tests/ui/abi')
-rw-r--r--tests/ui/abi/unsupported.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/abi/unsupported.rs b/tests/ui/abi/unsupported.rs
index 4bb732c94ac..072ec62b012 100644
--- a/tests/ui/abi/unsupported.rs
+++ b/tests/ui/abi/unsupported.rs
@@ -25,7 +25,7 @@
     abi_gpu_kernel,
     abi_x86_interrupt,
     abi_riscv_interrupt,
-    abi_c_cmse_nonsecure_call,
+    abi_cmse_nonsecure_call,
     abi_vectorcall,
     cmse_nonsecure_entry
 )]
@@ -117,18 +117,18 @@ fn vectorcall_ptr(f: extern "vectorcall" fn()) {
 extern "vectorcall" {}
 //[arm,aarch64,riscv32,riscv64]~^ ERROR is not a supported ABI
 
-fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
+fn cmse_call_ptr(f: extern "cmse-nonsecure-call" fn()) {
 //~^ ERROR is not a supported ABI
     f()
 }
 
-extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
+extern "cmse-nonsecure-entry" fn cmse_entry() {}
 //~^ ERROR is not a supported ABI
-fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
+fn cmse_entry_ptr(f: extern "cmse-nonsecure-entry" fn()) {
 //~^ ERROR is not a supported ABI
     f()
 }
-extern "C-cmse-nonsecure-entry" {}
+extern "cmse-nonsecure-entry" {}
 //~^ ERROR is not a supported ABI
 
 #[cfg(windows)]