aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/mapping_nonelementary_key_3.sol
blob: 655af9de7ec74f1bf16314f2023096c58de6755f (plain) (blame)
1
2
3
4
5
6
7
8
contract c {
    struct S {
        string s;
    }
    mapping(S => uint) data;
}
// ----
// ParserError: (49-50): Expected elementary type name for mapping key type