diff --git a/contracts/Test.sol b/contracts/Test.sol index 31d04f4..67cae5d 100644 --- a/contracts/Test.sol +++ b/contracts/Test.sol @@ -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); + } +} \ No newline at end of file