+1

struct T { }

struct S
{
    //RefCounted!T data;
    ~this() {}

    int val;
}

void bar(S s) {
    //auto x = (){ return s.val; }();   // OK
    auto f = (){ return s.val; };   // NG
}