-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
666b499
commit fb75168
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
test/libsolidity/syntaxTests/contractBaseLocation/at_before_layout.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
contract C at layout 0x1234ABC { } | ||
// ---- | ||
// ParserError 2314: (11-13): Expected '{' but got identifier |
4 changes: 4 additions & 0 deletions
4
test/libsolidity/syntaxTests/contractBaseLocation/duplicated_layout_keyword.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
contract C layout layout at 0x1234ABC { } | ||
// ---- | ||
// ParserError 1994: (18-24): Expected 'at' but got identifier | ||
// ParserError 2314: (28-37): Expected '{' but got 'Number' |