Przeglądaj źródła

int reference test addition

Kajetan Johannes Hammerle 4 lat temu
rodzic
commit
260b7247a9
1 zmienionych plików z 2 dodań i 1 usunięć
  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() {