|
2 | 2 | // Exceptions. See /LICENSE for license information. |
3 | 3 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
4 | 4 | // |
| 5 | +// TODO: Add ranges and switch to "--dump-sem-ir-ranges=only". |
| 6 | +// EXTRA-ARGS: --dump-sem-ir-ranges=if-present |
| 7 | +// |
5 | 8 | // AUTOUPDATE |
6 | 9 | // TIP: To test this file alone, run: |
7 | 10 | // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/where_expr/non_generic.carbon |
@@ -57,17 +60,17 @@ fn NotGenericF(U: I where .T == i32) {} |
57 | 60 | // CHECK:STDOUT: %U.param_patt: %pattern_type.f03 = value_param_pattern %U.patt, call_param0 [concrete] |
58 | 61 | // CHECK:STDOUT: } { |
59 | 62 | // CHECK:STDOUT: %U.param: %I_where.type = value_param call_param0 |
60 | | -// CHECK:STDOUT: %.loc14_21.1: type = splice_block %.loc14_21.2 [concrete = constants.%I_where.type] { |
| 63 | +// CHECK:STDOUT: %.loc17_21.1: type = splice_block %.loc17_21.2 [concrete = constants.%I_where.type] { |
61 | 64 | // CHECK:STDOUT: %I.ref: type = name_ref I, file.%I.decl [concrete = constants.%I.type] |
62 | 65 | // CHECK:STDOUT: %.Self: %I.type = bind_symbolic_name .Self [symbolic_self = constants.%.Self] |
63 | 66 | // CHECK:STDOUT: %.Self.ref: %I.type = name_ref .Self, %.Self [symbolic_self = constants.%.Self] |
64 | 67 | // CHECK:STDOUT: %T.ref: %I.assoc_type = name_ref T, @T.%assoc0 [concrete = constants.%assoc0] |
65 | 68 | // CHECK:STDOUT: %.Self.as_type: type = facet_access_type %.Self.ref [symbolic_self = constants.%.Self.as_type] |
66 | | -// CHECK:STDOUT: %.loc14_27: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] |
| 69 | +// CHECK:STDOUT: %.loc17_27: type = converted %.Self.ref, %.Self.as_type [symbolic_self = constants.%.Self.as_type] |
67 | 70 | // CHECK:STDOUT: %impl.elem0: type = impl_witness_access constants.%I.lookup_impl_witness, element0 [symbolic_self = constants.%impl.elem0] |
68 | 71 | // CHECK:STDOUT: %int_32: Core.IntLiteral = int_value 32 [concrete = constants.%int_32] |
69 | 72 | // CHECK:STDOUT: %i32: type = class_type @Int, @Int(constants.%int_32) [concrete = constants.%i32] |
70 | | -// CHECK:STDOUT: %.loc14_21.2: type = where_expr %.Self [concrete = constants.%I_where.type] { |
| 73 | +// CHECK:STDOUT: %.loc17_21.2: type = where_expr %.Self [concrete = constants.%I_where.type] { |
71 | 74 | // CHECK:STDOUT: requirement_equivalent %impl.elem0, %i32 |
72 | 75 | // CHECK:STDOUT: } |
73 | 76 | // CHECK:STDOUT: } |
|
0 commit comments