1;# .sizeof. and .startof. operator diagnostics 2;# { dg-do assemble } 3 .long .sizeof.(a b) ;# { dg-error "Error: syntax error" } 4 .long .startof.(x y) ;# { dg-error "Error: syntax error" } 5 .long .sizeof.(a+1) ;# { dg-error "Error: syntax error" } 6 .long .startof.(x-1) ;# { dg-error "Error: syntax error" } 7 .long .sizeof.("a+b") 8 .long .startof.("x-y") 9 .long .sizeof.() ;# { dg-error "Error: expected symbol name" } 10 .long .startof.() ;# { dg-error "Error: expected symbol name" } 11;# We don't really care about these, but I didn't find a way to discard 12;# them, and I also don't want to use dg-excess-errors here. 13;# { dg-error "junk at end" "" { target *-*-* } 3 } 14;# { dg-error "junk at end" "junk" { target *-*-* } 4 } 15;# { dg-error "junk at end" "junk" { target *-*-* } 5 } 16;# { dg-error "junk at end" "junk" { target *-*-* } 6 } 17;# { dg-warning "zero assumed" "missing" { target *-*-* } 9 } 18;# { dg-warning "zero assumed" "missing" { target *-*-* } 10 } 19