[llvm-bugs] [Bug 35753] constexpr static variable template in class fails at link-time
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 2 18:02:36 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35753
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
--- Comment #5 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Per David Blaikie's comment, clang's behavior here is correct; in C++14, your
code does not contain a definition of test::make_vtable, so the "undefined
reference" errors are valid.
--
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/20180103/dd6a3245/attachment.html>
More information about the llvm-bugs
mailing list