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

            Bug ID: 38930
           Summary: Segmentation fault
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: we...@wsoptics.de
                CC: llvm-bugs@lists.llvm.org

The following creduced code snippet results in a segmentation fault:

  template < typename... >
  class a  
  template< typename b>
  class a<>
  : b
   a() {



clang++ -O0 -emit-llvm -std=c++17 -c t.ii

1.      t.ii:6:8: current parser token '{'
2.      t.ii:4:3: parsing struct/union/class body 'a<>'
clang-6.0: error: unable to execute command: Segmentation fault
clang-6.0: error: clang frontend command failed due to signal (use -v to see
invocation)

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

Reply via email to