================
@@ -0,0 +1,28 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+#ifdef BE_THE_HEADER
+#pragma clang system_header
+
+template <typename T>
+struct traits;
+
+template <>
+struct [[ deprecated]] traits<int> {}; // expected-note {{'traits<int>' has 
been explicitly marked deprecated here}}
----------------
AaronBallman wrote:

```suggestion
struct [[deprecated]] traits<int> {}; // expected-note {{'traits<int>' has been 
explicitly marked deprecated here}}
```

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

Reply via email to