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

            Bug ID: 20716
           Summary: Crash when recovering from type in known dependent
                    base (ms-compatibility)
           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

This is a reduced test case from ATL's CRowset and CAccessorRowset:

template <class T>
struct A
{
  void foo() {}
};

template <template <typename T> class C>
struct B : public C<int>
{
  void bar() {
    foo();
  }
};

int main() {
  B<A> b;
  b.bar();
}

command used: clang -cc1 -fms-compatibility -fsyntax-only test.cpp

-- 
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

Reply via email to