single-quote.fmt.sol 492 B

1234567891011121314151617
  1. // config: quote_style = "single"
  2. contract Yul {
  3. function test() external {
  4. assembly {
  5. let a := 'abc'
  6. let b := 'abc'
  7. let c := 'abc':u32
  8. let d := 'abc':u32
  9. let e := hex'deadbeef'
  10. let f := hex'deadbeef'
  11. let g := hex'deadbeef':u32
  12. let h := hex'deadbeef':u32
  13. datacopy(0, dataoffset('runtime'), datasize('runtime'))
  14. return(0, datasize('runtime'))
  15. }
  16. }
  17. }