// 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 // // EXTRA-ARGS: --no-dump-sem-ir // // AUTOUPDATE // TIP: To test this file alone, run: // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/builtins/int/or.carbon // TIP: To dump output, run: // TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/builtins/int/or.carbon // --- int_or.carbon fn Or(a: i32, b: i32) -> i32 = "int.or"; var arr: [i32; Or(12, 10)]; let arr_p: [i32; 14]* = &arr; fn RuntimeCallIsValid(a: i32, b: i32) -> i32 { return Or(a, b); }