https://llvm.org/bugs/show_bug.cgi?id=16259
Andrey Bokhanko <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME Assignee|unassignedclangbugs@nondot. |[email protected] |org | --- Comment #1 from Andrey Bokhanko <[email protected]> --- As I verified, the test now compiles fine: $ cat test.cpp template <class T, class A> void f() { T *q; q->A::~A(); } class Q {}; int main() { f<Q, int>(); } $ clang test.cpp test.cpp:4:10: error: 'int' is not a class, namespace, or enumeration q->A::~A(); ^ test.cpp:9:5: note: in instantiation of function template specialization 'f<Q, int>' requested here f<Q, int>(); ^ 1 error generated. (clang prints errors, but this is fine, as the program is incorrect; the problem was that clang crashed) Yours, Andrey Bokhanko =============== Software Engineer Intel Compiler Team Intel -- 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
