Ver código fonte

int reference test addition

Kajetan Johannes Hammerle 4 anos atrás
pai
commit
260b7247a9
1 arquivos alterados com 2 adições e 1 exclusões
  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() {