================
@@ -477,3 +477,8 @@ namespace P2361 {
 }
 
 alignas(int) struct AlignAsAttribute {}; // expected-error {{misplaced 
attributes; expected attributes here}}
+
+namespace GH147217 {
+  [[clang::annotate(#)]] void a();      // expected-error {{'#' is not allowed 
in attribute argument lists}}
+  [[clang::annotate(##)]] void b();     // expected-error {{'##' is not 
allowed in attribute argument lists}}
----------------
a-tarasyuk wrote:

@cor3ntin Thanks for the feedback. I've added additional tests

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

Reply via email to