mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12001 from ethereum/cmdline-test-for-asm-json
Command-line test for `--asm-json`
This commit is contained in:
commit
d9ad047c21
1
test/cmdlineTests/asm_json/args
Normal file
1
test/cmdlineTests/asm_json/args
Normal file
@ -0,0 +1 @@
|
||||
--asm-json
|
9
test/cmdlineTests/asm_json/input.sol
Normal file
9
test/cmdlineTests/asm_json/input.sol
Normal file
@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >=0.0;
|
||||
|
||||
contract C {
|
||||
function f(uint x) public pure {
|
||||
x += 42;
|
||||
require(x > 100);
|
||||
}
|
||||
}
|
1586
test/cmdlineTests/asm_json/output
Normal file
1586
test/cmdlineTests/asm_json/output
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user