https://llvm.org/bugs/show_bug.cgi?id=17646
Serge Pavlov <sepavl...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |sepavl...@gmail.com Resolution|--- |WORKSFORME --- Comment #2 from Serge Pavlov <sepavl...@gmail.com> --- With current ToT (r276120) no crash is observed: 17646.cpp:5:12: error: use 'template' keyword to treat 'O' as a dependent template name void L<k>::O<T>::Fun() {} ^ template 17646.cpp:5:12: error: 'O' following the 'template' keyword does not refer to a template void L<k>::O<T>::Fun() {} ^ 17646.cpp:5:12: warning: variable templates are a C++14 extension [-Wc++14-extensions] 17646.cpp:5:12: error: no member named 'O' in 'L<>' void L<k>::O<T>::Fun() {} ~~~~~~^ 17646.cpp:5:13: error: expected ';' at end of declaration void L<k>::O<T>::Fun() {} ^ ; 17646.cpp:5:13: error: expected unqualified-id 17646.cpp:6:7: error: no type named 'O' in 'L<0>' L<0>::O<int>::Fun(); ~~~~~~^ 17646.cpp:6:8: error: expected unqualified-id L<0>::O<int>::Fun(); ^ 1 warning and 7 errors generated. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs