https://llvm.org/bugs/show_bug.cgi?id=31500

            Bug ID: 31500
           Summary: llvm/tools/clang/lib/AST/Decl.cpp:2426: clang::Expr*
                    clang::ParmVarDecl::getDefaultArg(): Assertion
                    `!hasUninstantiatedDefaultArg() && "Default argument
                    is not yet instantiated!"' failed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangb...@nondot.org
          Reporter: compn...@compnerd.org
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

// RUN: %clang_cc1 -triple i686--windows-msvc -fdeclspec -emit-llvm -o
/dev/null -x c++ %s

template <class> struct collate {
  collate(__SIZE_TYPE__ __refs = 0) {}
};

extern template class collate<char>;

template class __declspec(dllexport) collate<char>;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to