Bug ID: 78011
           Summary: Compiler error when initializing a member of template
                    type where the second template argument is a typedef
           Product: gcc
           Version: 5.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot
          Reporter: b.stanimirov at abv dot bg
  Target Milestone: ---


typedef int int32;

struct foo
  std::map<int, int32> bar = std::map<int, int32>{};

If the initialization is removed, or if it's in a function and not in a class,
it compiles fine.

Live demo:

Reply via email to