blob: 1c96c36f1f5b3334f0b9a363d9f506e88e7eea3e [file] [log] [blame]
/* REQUIRED_ARGS: -preview=rvaluerefparam
*/
struct AS
{
string get() @safe @nogc pure nothrow { return _s; }
alias get this;
@disable this(this);
string _s;
}
void popFront(ref string) { }
static assert(!is(typeof((R r) => r.popFront)));