http://llvm.org/bugs/show_bug.cgi?id=16735
Bug ID: 16735
Summary: [-cxx-abi] Out-of-line constructor not emitted if pure
virtual functions are present?
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
As of r187356,
$ clang++ -Xclang -cxx-abi -Xclang microsoft -w -S -o - source.cpp
----------
gives an empty output on this file:
----------
struct X {
X();
virtual void f() = 0;
};
X::X() { }
----------
If another class in a different TU inherits X and overrides f(), we get a
link-time unresolved symbol error for the X constructor.
--
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