[LLVMbugs] [Bug 15741] ICE on invalid 'class { template { typename {'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 10 11:23:53 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=15741

Serge Pavlov <sepavloff at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sepavloff at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #5 from Serge Pavlov <sepavloff at gmail.com> ---
It looks like ToT (r223913) does not have such problem:

x.ii:1:73: error: expected a qualified name after 'typename'
              class    {                     template<typename          {
                                                                        ^
x.ii:1:73: error: expected ',' or '>' in template-parameter-list
x.ii:1:77: error: expected member name or ';' after declaration specifiers
              class    {                     template<typename          {
                                                                            ^
x.ii:1:77: error: expected '}'
x.ii:1:24: note: to match this '{'
              class    {                     template<typename          {
                       ^
x.ii:1:74: error: expected ';' after class
              class    {                     template<typename          {
                                                                         ^
                                                                         ;
x.ii:1:15: error: anonymous structs and classes must be class members
              class    {                     template<typename          {
              ^
6 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/20141210/0680228b/attachment.html>


More information about the llvm-bugs mailing list