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

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