Add syntax tests for assembly block type (evmasm)

This commit is contained in:
Alex Beregszaszi 2018-07-24 20:03:13 +01:00
parent 167fe7c370
commit 640b8af802
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
contract C {
function f() public pure {
assembly "evmasm" {}
}
}

View File

@ -0,0 +1,7 @@
contract C {
function f() public pure {
assembly "failasm" {}
}
}
// ----
// ParserError: (55-64): Only "evmasm" supported.