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

            Bug ID: 25197
           Summary: Assertion failed:
                    (getContext().hasSameType(E->getType(), type)),
                    function EmitCallArg
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 15083
  --> https://llvm.org/bugs/attachment.cgi?id=15083&action=edit
reduced.mm

When using generics, the type check for the argument can fail due to the
expression type being specialized by the generics.  The reduced test case
attached triggers the assertion in an assertions build.

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

Reply via email to