https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80947

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic, visibility
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-09-14
      Known to work|                            |5.4.0
            Summary|Different visibility for    |[6/7/8 Regression]
                   |the lambda and its capture  |Different visibility for
                   |list members with           |the lambda and its capture
                   |-fvisibility=hidden         |list members with
                   |                            |-fvisibility=hidden
     Ever confirmed|0                           |1
      Known to fail|                            |6.4.0, 7.2.0, 8.0

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Vlad Zolotarov from comment #1)
> Created attachment 41472 [details]
> an ii value generated by g++-6

This is a URL not a preprocessed file.

Reproducer from comment 2 (thanks):

template<class T>
class MyClass  {
public:
    MyClass() {
        auto outer = [this]()
            {
                auto fn = [this]   { };
            };
    }
};
int main() { MyClass<int> r; }

Reply via email to