================
@@ -0,0 +1,32 @@
+// RUN: cir-opt %s --verify-roundtrip | FileCheck %s
+
+!s32i = !cir.int<s, 32>
+!void = !cir.void
+
+module {
+
+cir.func @catch_param_inside_catch() {
+ cir.scope {
+ cir.try {
+ cir.yield
+ } catch all {
+ cir.catch_param : !cir.ptr<!void>
----------------
andykaylor wrote:
```suggestion
%0 = cir.catch_param : !cir.ptr<!void>
```
https://github.com/llvm/llvm-project/pull/165110
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits