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

            Bug ID: 45142
           Summary: Segfault from pseudodestructor with template alias
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: ndkrem...@gmail.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

I don't have a view on whether the following code is valid C++ or not, but it
is segfaulting clang:

template <typename T> using Alias = int;
int main() {
    (1).template ~Alias<int>();
}

(Compile error in 8.0.0, segfault in 9.0.0 up.)

-- 
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