aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/mapping_nonelementary_key_2.sol
blob: 713cddeb35e717f2646bd267eaaca4294a5009ea (plain) (blame)
1
2
3
4
5
6
7
8
contract c {
    struct S {
        uint x;
    }
    mapping(S => uint) data;
}
// ----
// ParserError: (47-48): Expected elementary type name for mapping key type