[clang] [clang] Fix clang++ crash on assertions when compiling source (PR #70594)
Rajveer Singh Bharadwaj via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 31 03:55:00 PDT 2023
================
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -verify
+// RUN: %clang_cc1 -fsyntax-only -std=c++23 %s -verify
+
+// expected-no-diagnostics
+
+struct A {};
+using CA = const A;
+
+struct S1 : CA {
----------------
Rajveer100 wrote:
In the `godbolt` links, the compilers seem to be two different versions of `clang`, one being a `trunk` and other is an `assertion trunk`?
https://github.com/llvm/llvm-project/pull/70594
More information about the cfe-commits
mailing list