[Bug c++/61135] New: It seems to be not able to call virtual method of literal object in lambda expression

2014-05-09 Thread okamoto6496 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: okamoto6496 at gmail dot com Code is below: 1 struct Base 2 { 3 virtual int b() const{return 1;}; 4 }; 5 6 struct Super:Base{}; 7 8 int main

[Bug c++/61135] It seems to be not able to call virtual method of literal object in lambda expression

2014-05-09 Thread okamoto6496 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61135 --- Comment #1 from MamoruOKAMOTO okamoto6496 at gmail dot com --- g++-4.9.0 returned same message.

[Bug c++/61135] It seems to be not able to call virtual method of literal object in lambda expression

2014-05-09 Thread okamoto6496 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61135 --- Comment #2 from MamoruOKAMOTO okamoto6496 at gmail dot com --- Created attachment 32772 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32772action=edit Test code using report