https://bugs.llvm.org/show_bug.cgi?id=21855
Reid Kleckner <r...@google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Reid Kleckner <r...@google.com> ---
Looks like this was fixed. Erich's example gives a proper error like so:
template <class> struct A {
int N = sizeof(A<wchar_t>) / ;
void F() { A<wchar_t> a; }
};
$ clang -cc1 -std=c++11 t.cpp -emit-llvm
t.cpp:3:37: error: expected expression
int N = sizeof (A < wchar_t >) /;
^
1 error generated.
And the original attached test case doesn't crash.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs