http://llvm.org/bugs/show_bug.cgi?id=14242
Ulf Magnusson <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Ulf Magnusson <[email protected]> 2012-11-02 09:53:34 CDT --- Reading C++03, 5.2.8.2 a second time, it seems this only applies when the lvalue is a polymorphic class type (which makes sense), and #include <typeinfo> struct C { virtual ~C(); }; int main() { typeid(*(C*)0); } does work as expected. (It throws std::bad_typeid.) Close this as invalid then :). -- 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
