about summary refs log tree commit diff
path: root/library/std_detect/tests/macro_trailing_commas.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std_detect/tests/macro_trailing_commas.rs')
-rw-r--r--library/std_detect/tests/macro_trailing_commas.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std_detect/tests/macro_trailing_commas.rs b/library/std_detect/tests/macro_trailing_commas.rs
index 2fee0abdd57..6072ddf5ac4 100644
--- a/library/std_detect/tests/macro_trailing_commas.rs
+++ b/library/std_detect/tests/macro_trailing_commas.rs
@@ -69,6 +69,8 @@ fn aarch64() {
 #[test]
 #[cfg(any(target_arch = "loongarch32", target_arch = "loongarch64"))]
 fn loongarch() {
+    let _ = is_loongarch_feature_detected!("32s");
+    let _ = is_loongarch_feature_detected!("32s",);
     let _ = is_loongarch_feature_detected!("lsx");
     let _ = is_loongarch_feature_detected!("lsx",);
 }