Skip to content

Commit 3016428

Browse files
committed
Fix reset unit tests missing the #1 irreversible attribute in QIR
1 parent a7c9554 commit 3016428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/qsc/src/codegen/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ mod adaptive_ri_profile {
10801080
10811081
declare void @__quantum__qis__x__body(%Qubit*)
10821082
1083-
declare void @__quantum__qis__reset__body(%Qubit*)
1083+
declare void @__quantum__qis__reset__body(%Qubit*) #1
10841084
10851085
declare void @__quantum__qis__mresetz__body(%Qubit*, %Result*) #1
10861086

0 commit comments

Comments
 (0)