Skip to content

Commit 92a5f87

Browse files
fixup! tests
1 parent 8db609a commit 92a5f87

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
contract C layout at f { } { }
1+
contract A {
2+
function f() external pure returns (uint) {}
3+
}
4+
contract C is A layout at this.f{}() {}
25
// ----
3-
// ParserError 7858: (27-28): Expected pragma, import directive or contract/interface/library/struct/enum/constant/function/error definition.
6+
// ParserError 7858: (98-99): Expected pragma, import directive or contract/interface/library/struct/enum/constant/function/error definition.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
contract C layout at f{gas:1000, a: 2, b: 3}() { }
1+
contract A {
2+
function f() external pure returns (uint) {}
3+
}
4+
contract C is A layout at this.f{value:123}() {}
25
// ====
36
// stopAfter: parsing
47
// ----

0 commit comments

Comments
 (0)