[LLVMbugs] [Bug 18907] New: Assertion failed: "InstantiateClass shouldn't fail here!" at lib\Sema\SemaTemplateInstantiateDecl.cpp:1193

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 20 05:27:13 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18907

            Bug ID: 18907
           Summary: Assertion failed: "InstantiateClass shouldn't fail
                    here!" at
                    lib\Sema\SemaTemplateInstantiateDecl.cpp:1193
           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

Repro as of r201768:
-----------------
template <typename T>
class C : public C<int> {};

template <typename X, typename Y>
void F(Y *obj, long (Y::*method)()) {
  struct A : C<X> {};
}

struct B {
  long f();
  void g() { F<int>(this, &B::f); }
};

-----------------

-- 
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/20140220/969c95f6/attachment.html>


More information about the llvm-bugs mailing list