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

Serge Pavlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WORKSFORME

--- Comment #1 from Serge Pavlov <[email protected]> ---
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to