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

            Bug ID: 47116
           Summary: Front end crashes when trying to export a type out of
                    a module
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangb...@nondot.org
          Reporter: vsti...@google.com
                CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
                    llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk

https://godbolt.org/z/6fEE3s

I was trying to convert a header file to a module.

The compiler complained that it could export a std:pair of a iterator class
inside a template class (I was trying to emulate the behavior of a stl
container.)

My code is probably wrong because I don't know how modules work but it probably
shouldn't crash.

I found it with clang 10 on ubuntu, but it also happens on trunk (according to
godbolt).

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

Reply via email to