mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add syntax tests for assembly block type (evmasm)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
assembly "evmasm" {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
assembly "failasm" {}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (55-64): Only "evmasm" supported.
|
||||
Reference in New Issue
Block a user