mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ contract C {
|
||||
|
||||
bool flag;
|
||||
|
||||
constructor() public {
|
||||
constructor() {
|
||||
if (!flag) {
|
||||
flag = true;
|
||||
function() internal invalid;
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ contract C {
|
||||
|
||||
bool flag;
|
||||
|
||||
constructor() public {
|
||||
constructor() {
|
||||
if (!flag) {
|
||||
flag = true;
|
||||
function() internal invalid;
|
||||
|
||||
@@ -5,7 +5,7 @@ contract InvalidTest {
|
||||
function() internal storedFn;
|
||||
uint public x;
|
||||
|
||||
constructor() public {
|
||||
constructor() {
|
||||
uint _y1;
|
||||
uint _y2;
|
||||
uint _y3;
|
||||
|
||||
@@ -4,7 +4,7 @@ contract InvalidTest {
|
||||
|
||||
bool flag;
|
||||
|
||||
constructor() public {
|
||||
constructor() {
|
||||
function() internal invalid;
|
||||
storedFn = invalid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user