[clang] [Clang] handle invalid close location in static assert declaration (PR #108701)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 14 16:20:28 PDT 2024


================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -std=c++2a -triple=x86_64-linux -fsyntax-only %s -verify
----------------
zyn0217 wrote:

I believe so, yes. See the example: clang/test/SemaCXX/constant-expression-cxx2b.cpp

https://github.com/llvm/llvm-project/pull/108701


More information about the cfe-commits mailing list