| 1 |
// RUN: %not_todo_cmd fir-opt --fir-to-llvm-ir="target=x86_64-unknown-linux-gnu" %s 2>&1 | FileCheck %s |
| 2 |
|
| 3 |
// CHECK: not yet implemented: fir.array nested inside other array and/or derived type |
| 4 |
|
| 5 |
// `!fir.coordinate_of` - `!fir.array` inside "boxed" `!fir.type` |
| 6 |
func.func @coordinate_box_array_inside_derived(%arg0: !fir.box<!fir.type<derived_2{field_1:!fir.array<10 x i32>, field_2:i32}>>, %arg1 : index) { |
| 7 |
%q = fir.coordinate_of %arg0, field_1, %arg1 : (!fir.box<!fir.type<derived_2{field_1:!fir.array<10 x i32>, field_2:i32}>>, index) -> !fir.ref<f32> |
| 8 |
return |
| 9 |
} |