pragma abicoder               v2;
library L {
    struct S { mapping(uint => uint) m; }
    function f(S memory a) external pure returns (S memory) {}
}
// ----
// TypeError 4061: (103-113): Type struct L.S memory is only valid in storage because it contains a (nested) mapping.
