http://llvm.org/bugs/show_bug.cgi?id=9619
Summary: clang c++ "infinite" loop with template class and
operator->
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Testcase:
template <unsigned long long x> struct A {
A<x+1> operator->() { return A<x+1>(); }
};
void f() { A<0> x; x->foo(); }
There isn't any limit on the number of operator->'s that clang will try to use.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs