@@ -40,9 +40,9 @@ fn main() {
4040 asm ! ( "" , clobber_abi( foo) ) ;
4141 //~^ ERROR expected string literal
4242 asm ! ( "" , clobber_abi( "C" foo) ) ;
43- //~^ ERROR expected `) `, found `foo`
43+ //~^ ERROR expected one of `)` or `, `, found `foo`
4444 asm ! ( "" , clobber_abi( "C" , foo) ) ;
45- //~^ ERROR expected `)`, found `,`
45+ //~^ ERROR expected string literal
4646 asm ! ( "{}" , clobber_abi( "C" ) , const foo) ;
4747 //~^ ERROR arguments are not allowed after clobber_abi
4848 //~^^ ERROR attempt to use a non-constant value in a constant
@@ -108,9 +108,9 @@ global_asm!("{}", options(), const FOO);
108108global_asm ! ( "" , clobber_abi( FOO ) ) ;
109109//~^ ERROR expected string literal
110110global_asm ! ( "" , clobber_abi( "C" FOO ) ) ;
111- //~^ ERROR expected `) `, found `FOO`
111+ //~^ ERROR expected one of `)` or `, `, found `FOO`
112112global_asm ! ( "" , clobber_abi( "C" , FOO ) ) ;
113- //~^ ERROR expected `)`, found `,`
113+ //~^ ERROR expected string literal
114114global_asm ! ( "{}" , clobber_abi( "C" ) , const FOO ) ;
115115//~^ ERROR arguments are not allowed after clobber_abi
116116//~^^ ERROR `clobber_abi` cannot be used with `global_asm!`
0 commit comments