[LLVMbugs] [Bug 14144] New: template and decltype

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 22 08:11:33 PDT 2012


             Bug #: 14144
           Summary: template and decltype
           Product: clang
           Version: 3.1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hans.buchmann at fhnw.ch
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9393
  --> http://llvm.org/bugs/attachment.cgi?id=9393
The compiler message

Compiling the code

template<unsigned V>
struct Template
 static const unsigned VAL=V;
 static struct
  unsigned u;
  unsigned v;
 } reg;

template<unsigned V>

with the 

clang++ -std=c++11 bug.cc -o bug.o

results in 

see attachment.


Hans Buchmann
hans.buchmann at fhnw.ch

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list