[cfe-dev] Assert in LLVM from new using declaration code
AlisdairM(public)
public at alisdairm.net
Sat Jun 20 05:08:25 PDT 2009
I've been playing around with the recently added using-declaration code, and keep hitting the following assertion in LLVM:
Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible type!", file ...\llvm\include\llvm/Support/Casting.h, line 199
(got to love the switch from \ to / in Windows paths!)
The test case boils down to:
namespace A {
void f(int);
}
using A::f;
void foo() {
f(13);
}
Still getting my feet wet on process, is it better to report to list here first in case there is a quick fix, or file a bug report and then advertise here?
AlisdairM
More information about the cfe-dev
mailing list