[llvm-bugs] [Bug 31584] clang crash in clang::Expr::EvaluateAsInitializer

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jun 10 12:08:28 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=31584

Yaron Keren <yaron.keren at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Yaron Keren <yaron.keren at gmail.com> ---
as of r305089, fails without assertion:


file.cpp:1:27: error: unexpected ':' in nested name specifier; did you mean
'::'?
template <class f> void f : g() { f coordinates const bool e(coordinates); }
                          ^
                          ::
file.cpp:1:29: error: nested name specifier 'f::' for declaration does not
refer into a class, class template or class template partial specialization
template <class f> void f : g() { f coordinates const bool e(coordinates); }
                        ~~~ ^
2 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170610/583d272c/attachment.html>


More information about the llvm-bugs mailing list