[clang] [Sema] Add original GH192264 reproducer as a section-conflict regression test (PR #202276)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 04:48:31 PDT 2026


================
@@ -84,3 +84,11 @@ auto lambda = [](int val) __attribute__((section("lambda_op_pragma"))) { return
 #pragma clang section bss="lambda_op_pragma" // expected-error {{this causes a section type conflict with 'operator()'}}
 #pragma clang section bss=""
 } // namespace lambda_call_operator_pragma
+
+// original: https://github.com/llvm/llvm-project/issues/192264
+namespace GH192264_original {
----------------
AaronBallman wrote:

```suggestion
namespace GH192264_original {
```
No need for the link, we can use the name of the namespace to connect the dots.

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


More information about the cfe-commits mailing list