| 12345678910111213141516171819 |
- // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
- // Exceptions. See /LICENSE for license information.
- // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- //
- // AUTOUPDATE
- var test_i32: i32 = ((1) + (2));
- // CHECK:STDOUT: --- parens.carbon
- // CHECK:STDOUT:
- // CHECK:STDOUT: file {
- // CHECK:STDOUT: %test_i32.var: ref i32 = var test_i32
- // CHECK:STDOUT: %test_i32: ref i32 = bind_name test_i32, %test_i32.var
- // CHECK:STDOUT: %.loc7_23: i32 = int_literal 1
- // CHECK:STDOUT: %.loc7_29: i32 = int_literal 2
- // CHECK:STDOUT: %.loc7_26: i32 = add %.loc7_23, %.loc7_29
- // CHECK:STDOUT: assign %test_i32.var, %.loc7_26
- // CHECK:STDOUT: }
- // CHECK:STDOUT:
|