Explorar o código

int reference test addition

Kajetan Johannes Hammerle %!s(int64=4) %!d(string=hai) anos
pai
achega
260b7247a9
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      tests/struct/reference

+ 2 - 1
tests/struct/reference

@@ -1,5 +1,6 @@
 void test(int& t) {
-    t = 9;
+    t = 8;
+    t += 1;
 }
 
 void main() {