[LLVMbugs] [Bug 19828] New: Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible type!", file ..\include\llvm/Support/Casting.h, line 237
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 22 11:08:57 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19828
Bug ID: 19828
Summary: Assertion failed: isa<X>(Val) && "cast<Ty>() argument
of incompatible type!", file
..\include\llvm/Support/Casting.h, line 237
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: timurrrr at google.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
I got the following failure
Assertion failed: isa<X>(Val) && "cast<Ty>() argument of incompatible type!",
file ..\include\llvm/Support/Casting.h, line 237
on the following trivial repro on Windows:
----------------
struct A {
A();
virtual void f(void*);
};
struct B : virtual A {
B();
};
B::B() {}
----------------
$ clang.exe -c test.cpp
-> Assertion failure
$ clang-cl.exe -c test.cpp
-> OK, no crashing
Reproduces for me as of r209455
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140522/1d64cfbe/attachment.html>
More information about the llvm-bugs
mailing list