Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx committed Mar 28, 2024
1 parent 3e41699 commit 0d93daa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions contracts/Test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,16 @@ library LibraryHasStruct {

function foo() internal returns (Inner memory) {}
}

library UdvtConflict {
type myFirstType is bytes32;
type mySecondType is bytes32;

function unwrap(myFirstType t) internal pure returns (bytes32) {
return myFirstType.unwrap(t);
}

function unwrap(mySecondType t) internal pure returns (bytes32) {
return mySecondType.unwrap(t);
}
}

0 comments on commit 0d93daa

Please sign in to comment.