aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/enum_inheritance_interface.sol
blob: 7585874457c625c33391651c37c0a7b221de936c (plain) (blame)
1
2
3
4
5
6
7
8
9
interface I {
    enum Direction { Left, Right }
}

contract D is I {
    function f() public pure returns (Direction) {
      return Direction.Left;
    }
}