]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/asm/bad-template.rs
Auto merge of #98471 - wesleywiser:update_measureme, r=Mark-Simulacrum
[rust.git] / src / test / ui / asm / bad-template.rs
index b062c45e6ea34947b37ab09c98d49f23f6a3eec2..556371747920e9f9f1398bb92935c087bb6d09ad 100644 (file)
@@ -49,6 +49,7 @@ fn main() {
         //[aarch64_thirunsafeck,aarch64_mirunsafeck]~^ ERROR invalid reference to argument at index 0
         asm!("{:foo}", in(reg) foo);
         //~^ ERROR asm template modifier must be a single character
+        //~| WARN formatting may not be suitable for sub-register argument [asm_sub_register]
         asm!("", in(reg) 0, in(reg) 1);
         //~^ ERROR multiple unused asm arguments
     }