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

            Bug ID: 42276
           Summary: Regression(363295): Clang crashes when compiling angle
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

struct b {
  struct c {
    void operator++();
    bool operator!=(c);
    int operator*();
  };
  c begin();
  c end();
};
class State {
  void syncDirtyObjects();
  using l = void (State::*)();
  static constexpr l m[]{};
};
void State::syncDirtyObjects() {
  b n;
  for (size_t o : n)
    (this->*m[o])();
}


out/gn/bin/clang -cc1 -triple x86_64-pc-windows-msvc19.16.0 -fms-compatibility
-emit-llvm GLES1Renderer-ee14d5.reduced.cpp

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

Reply via email to