empty_generic.carbon 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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. //
  5. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/none.carbon
  6. //
  7. // AUTOUPDATE
  8. // TIP: To test this file alone, run:
  9. // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/named_constraint/empty_generic.carbon
  10. // TIP: To dump output, run:
  11. // TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/named_constraint/empty_generic.carbon
  12. interface Z {}
  13. //@dump-sem-ir-begin
  14. constraint Empty(T:! type) {}
  15. fn F(U:! type, T:! Empty(U)) {}
  16. fn G(T:! Z, U:! type, V:! Empty(T)) {
  17. F(T, {});
  18. F(T, type);
  19. F(T, T);
  20. F(T, U);
  21. F(T, V);
  22. }
  23. //@dump-sem-ir-end
  24. // CHECK:STDOUT: --- empty_generic.carbon
  25. // CHECK:STDOUT:
  26. // CHECK:STDOUT: constants {
  27. // CHECK:STDOUT: %Z.type: type = facet_type <@Z> [concrete]
  28. // CHECK:STDOUT: %type: type = facet_type <type> [concrete]
  29. // CHECK:STDOUT: %T.8b3: type = bind_symbolic_name T, 0 [symbolic]
  30. // CHECK:STDOUT: %pattern_type.98f: type = pattern_type type [concrete]
  31. // CHECK:STDOUT: %Empty.type: type = generic_named_constaint_type @Empty [concrete]
  32. // CHECK:STDOUT: %empty_tuple.type: type = tuple_type () [concrete]
  33. // CHECK:STDOUT: %empty_struct: %Empty.type = struct_value () [concrete]
  34. // CHECK:STDOUT: %U.8b3: type = bind_symbolic_name U, 0 [symbolic]
  35. // CHECK:STDOUT: %T.eca: %type = bind_symbolic_name T, 1 [symbolic]
  36. // CHECK:STDOUT: %pattern_type.e25: type = pattern_type %type [concrete]
  37. // CHECK:STDOUT: %F.type: type = fn_type @F [concrete]
  38. // CHECK:STDOUT: %F: %F.type = struct_value () [concrete]
  39. // CHECK:STDOUT: %T.1d7: %Z.type = bind_symbolic_name T, 0 [symbolic]
  40. // CHECK:STDOUT: %pattern_type.4a0: type = pattern_type %Z.type [concrete]
  41. // CHECK:STDOUT: %U.336: type = bind_symbolic_name U, 1 [symbolic]
  42. // CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.1d7 [symbolic]
  43. // CHECK:STDOUT: %V: %type = bind_symbolic_name V, 2 [symbolic]
  44. // CHECK:STDOUT: %G.type: type = fn_type @G [concrete]
  45. // CHECK:STDOUT: %G: %G.type = struct_value () [concrete]
  46. // CHECK:STDOUT: %empty_struct_type: type = struct_type {} [concrete]
  47. // CHECK:STDOUT: %facet_value.6fa: %type = facet_value %empty_struct_type, () [concrete]
  48. // CHECK:STDOUT: %F.specific_fn.8f2: <specific function> = specific_function %F, @F(%T.binding.as_type, %facet_value.6fa) [symbolic]
  49. // CHECK:STDOUT: %facet_value.832: %type = facet_value type, () [concrete]
  50. // CHECK:STDOUT: %F.specific_fn.d97: <specific function> = specific_function %F, @F(%T.binding.as_type, %facet_value.832) [symbolic]
  51. // CHECK:STDOUT: %facet_value.f04: %type = facet_value %T.binding.as_type, () [symbolic]
  52. // CHECK:STDOUT: %F.specific_fn.bd1: <specific function> = specific_function %F, @F(%T.binding.as_type, %facet_value.f04) [symbolic]
  53. // CHECK:STDOUT: %facet_value.137: %type = facet_value %U.336, () [symbolic]
  54. // CHECK:STDOUT: %F.specific_fn.76a: <specific function> = specific_function %F, @F(%T.binding.as_type, %facet_value.137) [symbolic]
  55. // CHECK:STDOUT: %F.specific_fn.685: <specific function> = specific_function %F, @F(%T.binding.as_type, %V) [symbolic]
  56. // CHECK:STDOUT: }
  57. // CHECK:STDOUT:
  58. // CHECK:STDOUT: file {
  59. // CHECK:STDOUT: %Empty.decl: %Empty.type = constraint_decl @Empty [concrete = constants.%empty_struct] {
  60. // CHECK:STDOUT: %T.patt: %pattern_type.98f = symbolic_binding_pattern T, 0 [concrete]
  61. // CHECK:STDOUT: } {
  62. // CHECK:STDOUT: <elided>
  63. // CHECK:STDOUT: %T.loc16_18.2: type = bind_symbolic_name T, 0 [symbolic = %T.loc16_18.1 (constants.%T.8b3)]
  64. // CHECK:STDOUT: }
  65. // CHECK:STDOUT: %F.decl: %F.type = fn_decl @F [concrete = constants.%F] {
  66. // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 0 [concrete]
  67. // CHECK:STDOUT: %T.patt: %pattern_type.e25 = symbolic_binding_pattern T, 1 [concrete]
  68. // CHECK:STDOUT: } {
  69. // CHECK:STDOUT: <elided>
  70. // CHECK:STDOUT: %U.loc18_6.2: type = bind_symbolic_name U, 0 [symbolic = %U.loc18_6.1 (constants.%U.8b3)]
  71. // CHECK:STDOUT: %.loc18: type = splice_block %type [concrete = constants.%type] {
  72. // CHECK:STDOUT: <elided>
  73. // CHECK:STDOUT: %Empty.ref: %Empty.type = name_ref Empty, file.%Empty.decl [concrete = constants.%empty_struct]
  74. // CHECK:STDOUT: %U.ref: type = name_ref U, %U.loc18_6.2 [symbolic = %U.loc18_6.1 (constants.%U.8b3)]
  75. // CHECK:STDOUT: %type: type = facet_type <type> [concrete = constants.%type]
  76. // CHECK:STDOUT: }
  77. // CHECK:STDOUT: %T.loc18_16.2: %type = bind_symbolic_name T, 1 [symbolic = %T.loc18_16.1 (constants.%T.eca)]
  78. // CHECK:STDOUT: }
  79. // CHECK:STDOUT: %G.decl: %G.type = fn_decl @G [concrete = constants.%G] {
  80. // CHECK:STDOUT: %T.patt: %pattern_type.4a0 = symbolic_binding_pattern T, 0 [concrete]
  81. // CHECK:STDOUT: %U.patt: %pattern_type.98f = symbolic_binding_pattern U, 1 [concrete]
  82. // CHECK:STDOUT: %V.patt: %pattern_type.e25 = symbolic_binding_pattern V, 2 [concrete]
  83. // CHECK:STDOUT: } {
  84. // CHECK:STDOUT: %.loc20_10: type = splice_block %Z.ref [concrete = constants.%Z.type] {
  85. // CHECK:STDOUT: <elided>
  86. // CHECK:STDOUT: %Z.ref: type = name_ref Z, file.%Z.decl [concrete = constants.%Z.type]
  87. // CHECK:STDOUT: }
  88. // CHECK:STDOUT: %T.loc20_6.2: %Z.type = bind_symbolic_name T, 0 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  89. // CHECK:STDOUT: <elided>
  90. // CHECK:STDOUT: %U.loc20_13.2: type = bind_symbolic_name U, 1 [symbolic = %U.loc20_13.1 (constants.%U.336)]
  91. // CHECK:STDOUT: %.loc20_34.1: type = splice_block %type [concrete = constants.%type] {
  92. // CHECK:STDOUT: <elided>
  93. // CHECK:STDOUT: %Empty.ref: %Empty.type = name_ref Empty, file.%Empty.decl [concrete = constants.%empty_struct]
  94. // CHECK:STDOUT: %T.ref.loc20: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  95. // CHECK:STDOUT: %T.as_type.loc20: type = facet_access_type %T.ref.loc20 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  96. // CHECK:STDOUT: %.loc20_34.2: type = converted %T.ref.loc20, %T.as_type.loc20 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  97. // CHECK:STDOUT: %type: type = facet_type <type> [concrete = constants.%type]
  98. // CHECK:STDOUT: }
  99. // CHECK:STDOUT: %V.loc20_23.2: %type = bind_symbolic_name V, 2 [symbolic = %V.loc20_23.1 (constants.%V)]
  100. // CHECK:STDOUT: }
  101. // CHECK:STDOUT: }
  102. // CHECK:STDOUT:
  103. // CHECK:STDOUT: generic constraint @Empty(%T.loc16_18.2: type) {
  104. // CHECK:STDOUT: %T.loc16_18.1: type = bind_symbolic_name T, 0 [symbolic = %T.loc16_18.1 (constants.%T.8b3)]
  105. // CHECK:STDOUT:
  106. // CHECK:STDOUT: !definition:
  107. // CHECK:STDOUT: <elided>
  108. // CHECK:STDOUT:
  109. // CHECK:STDOUT: constraint {
  110. // CHECK:STDOUT: <elided>
  111. // CHECK:STDOUT:
  112. // CHECK:STDOUT: !members:
  113. // CHECK:STDOUT: .Self = %Self.1
  114. // CHECK:STDOUT: }
  115. // CHECK:STDOUT: }
  116. // CHECK:STDOUT:
  117. // CHECK:STDOUT: generic fn @F(%U.loc18_6.2: type, %T.loc18_16.2: %type) {
  118. // CHECK:STDOUT: %U.loc18_6.1: type = bind_symbolic_name U, 0 [symbolic = %U.loc18_6.1 (constants.%U.8b3)]
  119. // CHECK:STDOUT: %T.loc18_16.1: %type = bind_symbolic_name T, 1 [symbolic = %T.loc18_16.1 (constants.%T.eca)]
  120. // CHECK:STDOUT:
  121. // CHECK:STDOUT: !definition:
  122. // CHECK:STDOUT:
  123. // CHECK:STDOUT: fn() {
  124. // CHECK:STDOUT: !entry:
  125. // CHECK:STDOUT: return
  126. // CHECK:STDOUT: }
  127. // CHECK:STDOUT: }
  128. // CHECK:STDOUT:
  129. // CHECK:STDOUT: generic fn @G(%T.loc20_6.2: %Z.type, %U.loc20_13.2: type, %V.loc20_23.2: %type) {
  130. // CHECK:STDOUT: %T.loc20_6.1: %Z.type = bind_symbolic_name T, 0 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  131. // CHECK:STDOUT: %U.loc20_13.1: type = bind_symbolic_name U, 1 [symbolic = %U.loc20_13.1 (constants.%U.336)]
  132. // CHECK:STDOUT: %T.binding.as_type: type = symbolic_binding_type T, 0, %T.loc20_6.1 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  133. // CHECK:STDOUT: %V.loc20_23.1: %type = bind_symbolic_name V, 2 [symbolic = %V.loc20_23.1 (constants.%V)]
  134. // CHECK:STDOUT:
  135. // CHECK:STDOUT: !definition:
  136. // CHECK:STDOUT: %F.specific_fn.loc21_3.2: <specific function> = specific_function constants.%F, @F(%T.binding.as_type, constants.%facet_value.6fa) [symbolic = %F.specific_fn.loc21_3.2 (constants.%F.specific_fn.8f2)]
  137. // CHECK:STDOUT: %F.specific_fn.loc22_3.2: <specific function> = specific_function constants.%F, @F(%T.binding.as_type, constants.%facet_value.832) [symbolic = %F.specific_fn.loc22_3.2 (constants.%F.specific_fn.d97)]
  138. // CHECK:STDOUT: %facet_value.loc23_9.2: %type = facet_value %T.binding.as_type, () [symbolic = %facet_value.loc23_9.2 (constants.%facet_value.f04)]
  139. // CHECK:STDOUT: %F.specific_fn.loc23_3.2: <specific function> = specific_function constants.%F, @F(%T.binding.as_type, %facet_value.loc23_9.2) [symbolic = %F.specific_fn.loc23_3.2 (constants.%F.specific_fn.bd1)]
  140. // CHECK:STDOUT: %facet_value.loc24_9.2: %type = facet_value %U.loc20_13.1, () [symbolic = %facet_value.loc24_9.2 (constants.%facet_value.137)]
  141. // CHECK:STDOUT: %F.specific_fn.loc24_3.2: <specific function> = specific_function constants.%F, @F(%T.binding.as_type, %facet_value.loc24_9.2) [symbolic = %F.specific_fn.loc24_3.2 (constants.%F.specific_fn.76a)]
  142. // CHECK:STDOUT: %F.specific_fn.loc25_3.2: <specific function> = specific_function constants.%F, @F(%T.binding.as_type, %V.loc20_23.1) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.685)]
  143. // CHECK:STDOUT:
  144. // CHECK:STDOUT: fn() {
  145. // CHECK:STDOUT: !entry:
  146. // CHECK:STDOUT: %F.ref.loc21: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
  147. // CHECK:STDOUT: %T.ref.loc21: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  148. // CHECK:STDOUT: %.loc21_9: %empty_struct_type = struct_literal ()
  149. // CHECK:STDOUT: %T.as_type.loc21: type = facet_access_type %T.ref.loc21 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  150. // CHECK:STDOUT: %.loc21_10.1: type = converted %T.ref.loc21, %T.as_type.loc21 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  151. // CHECK:STDOUT: %facet_value.loc21: %type = facet_value constants.%empty_struct_type, () [concrete = constants.%facet_value.6fa]
  152. // CHECK:STDOUT: %.loc21_10.2: %type = converted %.loc21_9, %facet_value.loc21 [concrete = constants.%facet_value.6fa]
  153. // CHECK:STDOUT: %F.specific_fn.loc21_3.1: <specific function> = specific_function %F.ref.loc21, @F(constants.%T.binding.as_type, constants.%facet_value.6fa) [symbolic = %F.specific_fn.loc21_3.2 (constants.%F.specific_fn.8f2)]
  154. // CHECK:STDOUT: %F.call.loc21: init %empty_tuple.type = call %F.specific_fn.loc21_3.1()
  155. // CHECK:STDOUT: %F.ref.loc22: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
  156. // CHECK:STDOUT: %T.ref.loc22: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  157. // CHECK:STDOUT: %T.as_type.loc22: type = facet_access_type %T.ref.loc22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  158. // CHECK:STDOUT: %.loc22_12.1: type = converted %T.ref.loc22, %T.as_type.loc22 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  159. // CHECK:STDOUT: %facet_value.loc22: %type = facet_value type, () [concrete = constants.%facet_value.832]
  160. // CHECK:STDOUT: %.loc22_12.2: %type = converted type, %facet_value.loc22 [concrete = constants.%facet_value.832]
  161. // CHECK:STDOUT: %F.specific_fn.loc22_3.1: <specific function> = specific_function %F.ref.loc22, @F(constants.%T.binding.as_type, constants.%facet_value.832) [symbolic = %F.specific_fn.loc22_3.2 (constants.%F.specific_fn.d97)]
  162. // CHECK:STDOUT: %F.call.loc22: init %empty_tuple.type = call %F.specific_fn.loc22_3.1()
  163. // CHECK:STDOUT: %F.ref.loc23: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
  164. // CHECK:STDOUT: %T.ref.loc23_5: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  165. // CHECK:STDOUT: %T.ref.loc23_8: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  166. // CHECK:STDOUT: %T.as_type.loc23_9.1: type = facet_access_type %T.ref.loc23_5 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  167. // CHECK:STDOUT: %.loc23_9.1: type = converted %T.ref.loc23_5, %T.as_type.loc23_9.1 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  168. // CHECK:STDOUT: %T.as_type.loc23_9.2: type = facet_access_type %T.ref.loc23_8 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  169. // CHECK:STDOUT: %facet_value.loc23_9.1: %type = facet_value %T.as_type.loc23_9.2, () [symbolic = %facet_value.loc23_9.2 (constants.%facet_value.f04)]
  170. // CHECK:STDOUT: %.loc23_9.2: %type = converted %T.ref.loc23_8, %facet_value.loc23_9.1 [symbolic = %facet_value.loc23_9.2 (constants.%facet_value.f04)]
  171. // CHECK:STDOUT: %F.specific_fn.loc23_3.1: <specific function> = specific_function %F.ref.loc23, @F(constants.%T.binding.as_type, constants.%facet_value.f04) [symbolic = %F.specific_fn.loc23_3.2 (constants.%F.specific_fn.bd1)]
  172. // CHECK:STDOUT: %F.call.loc23: init %empty_tuple.type = call %F.specific_fn.loc23_3.1()
  173. // CHECK:STDOUT: %F.ref.loc24: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
  174. // CHECK:STDOUT: %T.ref.loc24: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  175. // CHECK:STDOUT: %U.ref: type = name_ref U, %U.loc20_13.2 [symbolic = %U.loc20_13.1 (constants.%U.336)]
  176. // CHECK:STDOUT: %T.as_type.loc24: type = facet_access_type %T.ref.loc24 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  177. // CHECK:STDOUT: %.loc24_9.1: type = converted %T.ref.loc24, %T.as_type.loc24 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  178. // CHECK:STDOUT: %facet_value.loc24_9.1: %type = facet_value %U.ref, () [symbolic = %facet_value.loc24_9.2 (constants.%facet_value.137)]
  179. // CHECK:STDOUT: %.loc24_9.2: %type = converted %U.ref, %facet_value.loc24_9.1 [symbolic = %facet_value.loc24_9.2 (constants.%facet_value.137)]
  180. // CHECK:STDOUT: %F.specific_fn.loc24_3.1: <specific function> = specific_function %F.ref.loc24, @F(constants.%T.binding.as_type, constants.%facet_value.137) [symbolic = %F.specific_fn.loc24_3.2 (constants.%F.specific_fn.76a)]
  181. // CHECK:STDOUT: %F.call.loc24: init %empty_tuple.type = call %F.specific_fn.loc24_3.1()
  182. // CHECK:STDOUT: %F.ref.loc25: %F.type = name_ref F, file.%F.decl [concrete = constants.%F]
  183. // CHECK:STDOUT: %T.ref.loc25: %Z.type = name_ref T, %T.loc20_6.2 [symbolic = %T.loc20_6.1 (constants.%T.1d7)]
  184. // CHECK:STDOUT: %V.ref: %type = name_ref V, %V.loc20_23.2 [symbolic = %V.loc20_23.1 (constants.%V)]
  185. // CHECK:STDOUT: %T.as_type.loc25: type = facet_access_type %T.ref.loc25 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  186. // CHECK:STDOUT: %.loc25: type = converted %T.ref.loc25, %T.as_type.loc25 [symbolic = %T.binding.as_type (constants.%T.binding.as_type)]
  187. // CHECK:STDOUT: %F.specific_fn.loc25_3.1: <specific function> = specific_function %F.ref.loc25, @F(constants.%T.binding.as_type, constants.%V) [symbolic = %F.specific_fn.loc25_3.2 (constants.%F.specific_fn.685)]
  188. // CHECK:STDOUT: %F.call.loc25: init %empty_tuple.type = call %F.specific_fn.loc25_3.1()
  189. // CHECK:STDOUT: return
  190. // CHECK:STDOUT: }
  191. // CHECK:STDOUT: }
  192. // CHECK:STDOUT:
  193. // CHECK:STDOUT: specific @Empty(constants.%T.8b3) {
  194. // CHECK:STDOUT: %T.loc16_18.1 => constants.%T.8b3
  195. // CHECK:STDOUT: }
  196. // CHECK:STDOUT:
  197. // CHECK:STDOUT: specific @Empty(constants.%U.8b3) {
  198. // CHECK:STDOUT: %T.loc16_18.1 => constants.%U.8b3
  199. // CHECK:STDOUT: }
  200. // CHECK:STDOUT:
  201. // CHECK:STDOUT: specific @F(constants.%U.8b3, constants.%T.eca) {
  202. // CHECK:STDOUT: %U.loc18_6.1 => constants.%U.8b3
  203. // CHECK:STDOUT: %T.loc18_16.1 => constants.%T.eca
  204. // CHECK:STDOUT: }
  205. // CHECK:STDOUT:
  206. // CHECK:STDOUT: specific @Empty(constants.%T.binding.as_type) {
  207. // CHECK:STDOUT: %T.loc16_18.1 => constants.%T.binding.as_type
  208. // CHECK:STDOUT: }
  209. // CHECK:STDOUT:
  210. // CHECK:STDOUT: specific @G(constants.%T.1d7, constants.%U.336, constants.%V) {
  211. // CHECK:STDOUT: %T.loc20_6.1 => constants.%T.1d7
  212. // CHECK:STDOUT: %U.loc20_13.1 => constants.%U.336
  213. // CHECK:STDOUT: %T.binding.as_type => constants.%T.binding.as_type
  214. // CHECK:STDOUT: %V.loc20_23.1 => constants.%V
  215. // CHECK:STDOUT: }
  216. // CHECK:STDOUT:
  217. // CHECK:STDOUT: specific @F(constants.%T.binding.as_type, constants.%facet_value.6fa) {
  218. // CHECK:STDOUT: %U.loc18_6.1 => constants.%T.binding.as_type
  219. // CHECK:STDOUT: %T.loc18_16.1 => constants.%facet_value.6fa
  220. // CHECK:STDOUT:
  221. // CHECK:STDOUT: !definition:
  222. // CHECK:STDOUT: }
  223. // CHECK:STDOUT:
  224. // CHECK:STDOUT: specific @F(constants.%T.binding.as_type, constants.%facet_value.832) {
  225. // CHECK:STDOUT: %U.loc18_6.1 => constants.%T.binding.as_type
  226. // CHECK:STDOUT: %T.loc18_16.1 => constants.%facet_value.832
  227. // CHECK:STDOUT:
  228. // CHECK:STDOUT: !definition:
  229. // CHECK:STDOUT: }
  230. // CHECK:STDOUT:
  231. // CHECK:STDOUT: specific @F(constants.%T.binding.as_type, constants.%facet_value.f04) {
  232. // CHECK:STDOUT: %U.loc18_6.1 => constants.%T.binding.as_type
  233. // CHECK:STDOUT: %T.loc18_16.1 => constants.%facet_value.f04
  234. // CHECK:STDOUT:
  235. // CHECK:STDOUT: !definition:
  236. // CHECK:STDOUT: }
  237. // CHECK:STDOUT:
  238. // CHECK:STDOUT: specific @F(constants.%T.binding.as_type, constants.%facet_value.137) {
  239. // CHECK:STDOUT: %U.loc18_6.1 => constants.%T.binding.as_type
  240. // CHECK:STDOUT: %T.loc18_16.1 => constants.%facet_value.137
  241. // CHECK:STDOUT:
  242. // CHECK:STDOUT: !definition:
  243. // CHECK:STDOUT: }
  244. // CHECK:STDOUT:
  245. // CHECK:STDOUT: specific @F(constants.%T.binding.as_type, constants.%V) {
  246. // CHECK:STDOUT: %U.loc18_6.1 => constants.%T.binding.as_type
  247. // CHECK:STDOUT: %T.loc18_16.1 => constants.%V
  248. // CHECK:STDOUT:
  249. // CHECK:STDOUT: !definition:
  250. // CHECK:STDOUT: }
  251. // CHECK:STDOUT: