================
@@ -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 {
----------------
shafik wrote:

These examples: https://godbolt.org/z/8T3643496 don't crash clang and so don't 
really test the original bug. Please add the example from the bug report that 
does crash: https://godbolt.org/z/4naMG1q6r so we have a proper regression test.

https://github.com/llvm/llvm-project/pull/70594
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to