Skip to content

Commit 367e14b

Browse files
committed
Add test for ethdebug output on interfaces
1 parent 0fef27d commit 367e14b

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--ethdebug --via-ir --pretty-json --json-indent 4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
pragma solidity >=0.0;
3+
4+
interface C {
5+
function f() external;
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
======= Debug Data (ethdebug/format/info/resources) =======
2+
{
3+
"compilation": {
4+
"compiler": {
5+
"name": "solc",
6+
"version": "<VERSION REMOVED>"
7+
},
8+
"sources": [
9+
{
10+
"id": 0,
11+
"path": "input.sol"
12+
}
13+
]
14+
}
15+
}
16+
17+
======= input.sol:C =======
18+
Debug Data (ethdebug/format/program):
19+
null

0 commit comments

Comments
 (0)