File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -246,14 +246,14 @@ emitc.verbatim "typedef float f32;"
246246// The value is not interpreted as format string if there are no operands.
247247emitc.verbatim " {} { }"
248248
249- func.func @test_verbatim (%arg0 : !emitc.ptr <i32 >, %arg1 : i32 , %arg3 : !emitc.array <3 x!emitc.ptr <i32 >>) {
249+ func.func @test_verbatim (%arg0 : !emitc.ptr <i32 >, %arg1 : i32 , %arg2 : !emitc.array <3 x!emitc.ptr <i32 >>) {
250250 %a = " emitc.variable" () <{value = #emitc.opaque <" 1" >}> : () -> !emitc.lvalue <i32 >
251251
252252 // Check that the lvalue type can be used by verbatim.
253253 emitc.verbatim " ++{};" args %a : !emitc.lvalue <i32 >
254254
255255 // Check that the array type can be used by verbatim.
256- emitc.verbatim " *{}[0] = 1;" args %arg3 : !emitc.array <3 x!emitc.ptr <i32 >>
256+ emitc.verbatim " *{}[0] = 1;" args %arg2 : !emitc.array <3 x!emitc.ptr <i32 >>
257257
258258 emitc.verbatim " {} + {};" args %arg0 , %arg1 : !emitc.ptr <i32 >, i32
259259
You can’t perform that action at this time.
0 commit comments