================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits