[LLVMbugs] [Bug 12331] assertion on explicit specialization after instantiation
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 2 10:59:52 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=12331
Serge Pavlov <sepavloff at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sepavloff at gmail.com
Resolution|--- |WORKSFORME
--- Comment #1 from Serge Pavlov <sepavloff at gmail.com> ---
Trunk version (revision 185446) works OK:
clang++ -c pr12331.cpp
pr12331.cpp:6:27: error: explicit specialization of 'U' after instantiation
template<> struct S<int>::U { static const int n = sizeof(T); };
^
pr12331.cpp:3:16: note: implicit instantiation first required here
enum E { e = U::n };
^
1 error 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/20130702/411a3fc1/attachment.html>
More information about the llvm-bugs
mailing list