http://llvm.org/bugs/show_bug.cgi?id=10631
Serge Pavlov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #2 from Serge Pavlov <[email protected]> --- Both examples are compiled now without abort with ToT: $ clang --version clang version 3.7.0 (trunk 227734) Target: x86_64-unknown-linux-gnu Thread model: posix $ clang pr10631.cpp pr10631.cpp:1:10: error: unknown type name 'a' template<a>struct eval{struct eval{ ^ pr10631.cpp:1:31: error: nested redefinition of 'eval' template<a>struct eval{struct eval{ ^ pr10631.cpp:1:19: note: previous definition is here template<a>struct eval{struct eval{ ^ pr10631.cpp:1:36: error: expected ';' after struct template<a>struct eval{struct eval{ ^ ; pr10631.cpp:1:36: error: expected '}' pr10631.cpp:1:23: note: to match this '{' template<a>struct eval{struct eval{ ^ pr10631.cpp:1:36: error: expected ';' after struct template<a>struct eval{struct eval{ ^ ; 5 errors generated. $ clang pr10613-2.cpp pr10613-2.cpp:3:3: error: member '__is_byte' has the same name as its class __is_byte { ^ pr10613-2.cpp:3:13: error: expected '= constant-expression' or end of enumerator definition __is_byte { ^ pr10613-2.cpp:5:41: error: expected '}' template<> struct __is_byte<char> { ^ pr10613-2.cpp:2:14: note: to match this '{' enum { ^ pr10613-2.cpp:5:41: error: expected ';' after enum template<> struct __is_byte<char> { ^ ; pr10613-2.cpp:5:41: error: expected '}' pr10613-2.cpp:1:41: note: to match this '{' template<typename _Tp> struct __is_byte { ^ pr10613-2.cpp:5:41: error: expected ';' after struct template<> struct __is_byte<char> { ^ ; 6 errors 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
