================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// issue144264
+constexpr void test() 
+{ 
+    using TT = struct T[deprecated{}; 
----------------
a-tarasyuk wrote:

nit: The simplified example:

```cpp
namespace GH144264 {
constexpr void f() {
    using A = struct B [;
}
}
```

This isn’t really about attributes — it's more about cases like:

```cpp
Copy
namespace GH144264 {
constexpr void f() {
    using A = struct B[];
}
}
```


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

Reply via email to