[Bug c++/69436] Method returning "auto&" fails to resolve "*this" (-std=c++17)

2016-01-27 Thread vmorgulys at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69436 --- Comment #6 from vmorgulys at gmail dot com --- Hello Jonathan, I have another similar issue with auto and deleted contructrors ("=delete"). They are not detected at compile time. Do you think it is related to what you menti

[Bug c++/69436] New: Method returning "auto&" fails to resolve "*this" (-sdt=c++17)

2016-01-22 Thread vmorgulys at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vmorgulys at gmail dot com Target Milestone: --- Hello everybody, Here is a test case. //bad auto class c1 { public: auto& f1