Procházet zdrojové kódy

int reference test addition

Kajetan Johannes Hammerle před 4 roky
rodič
revize
260b7247a9
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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() {