tuple1.6c 305 B

12345678910
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. fn main() -> Int {
  5. var Int: x = (1);
  6. var (Int,Int): t2 = (5, 2);
  7. t2[0] = 3;
  8. return t2[0] - t2[1] - x;
  9. }