File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
cpp/ql/test/library-tests/valuenumbering/GlobalValueNumbering Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -744,3 +744,23 @@ test.cpp:
744744# 104| v0_28(void) = ReturnValue : r0_27, m0_26
745745# 104| v0_29(void) = UnmodeledUse : mu*
746746# 104| v0_30(void) = ExitFunction :
747+
748+ # 112| void test06()
749+ # 112| Block 0
750+ # 112| v0_0(void) = EnterFunction :
751+ # 112| m0_1(unknown) = AliasedDefinition :
752+ # 112| valnum = unique
753+ # 112| mu0_2(unknown) = UnmodeledDefinition :
754+ # 112| valnum = unique
755+ # 113| r0_3(glval<char[2]>) = StringConstant["a"] :
756+ # 113| valnum = r0_3
757+ # 114| r0_4(glval<char[2]>) = StringConstant["b"] :
758+ # 114| valnum = unique
759+ # 115| r0_5(glval<char[2]>) = StringConstant["a"] :
760+ # 115| valnum = r0_3
761+ # 116| r0_6(glval<char[2]>) = StringConstant["c"] :
762+ # 116| valnum = unique
763+ # 117| v0_7(void) = NoOp :
764+ # 112| v0_8(void) = ReturnVoid :
765+ # 112| v0_9(void) = UnmodeledUse : mu*
766+ # 112| v0_10(void) = ExitFunction :
Original file line number Diff line number Diff line change @@ -107,4 +107,11 @@ int inheritanceConversions(Derived* pd) {
107107 int y = pb->b ;
108108
109109 return y;
110- }
110+ }
111+
112+ void test06 () {
113+ " a" ;
114+ " b" ;
115+ " a" ;
116+ " c" ;
117+ }
You can’t perform that action at this time.
0 commit comments