@@ -197,14 +197,14 @@ int main() {
197
197
// CHECK: template <EnumValueIn EnumValue, typename EnumTypeIn> class Baz;
198
198
// CHECK: template <typename EnumTypeOut, template <EnumValueIn EnumValue, typename EnumTypeIn> class T> class dummy_functor_8;
199
199
// CHECK: Specializations of KernelInfo for kernel function types:
200
- // CHECK: template <> struct KernelInfo<::dummy_functor_1<( no_namespace_int)0 >>
201
- // CHECK: template <> struct KernelInfo<::dummy_functor_2<( no_namespace_short)1 >>
202
- // CHECK: template <> struct KernelInfo<::dummy_functor_3<( internal::namespace_short)1 >>
203
- // CHECK: template <> struct KernelInfo<::dummy_functor_4<( enum_in_anonNS)1 >>
204
- // CHECK: template <> struct KernelInfo<::dummy_functor_5<( no_type_set)0 >>
205
- // CHECK: template <> struct KernelInfo<::dummy_functor_6<( unscoped_enum)0 >>
200
+ // CHECK: template <> struct KernelInfo<::dummy_functor_1<static_cast< no_namespace_int>(0) >>
201
+ // CHECK: template <> struct KernelInfo<::dummy_functor_2<static_cast< no_namespace_short>(1) >>
202
+ // CHECK: template <> struct KernelInfo<::dummy_functor_3<static_cast< internal::namespace_short>(1) >>
203
+ // CHECK: template <> struct KernelInfo<::dummy_functor_4<static_cast< enum_in_anonNS>(1) >>
204
+ // CHECK: template <> struct KernelInfo<::dummy_functor_5<static_cast< no_type_set>(0) >>
205
+ // CHECK: template <> struct KernelInfo<::dummy_functor_6<static_cast< unscoped_enum>(0) >>
206
206
// CHECK: template <> struct KernelInfo<::dummy_functor_7<::no_namespace_int>>
207
207
// CHECK: template <> struct KernelInfo<::dummy_functor_7<::internal::namespace_short>>
208
- // CHECK: template <> struct KernelInfo<::T1<::T2<( type_argument_template_enum::E)0 >>>
208
+ // CHECK: template <> struct KernelInfo<::T1<::T2<static_cast< type_argument_template_enum::E>(0) >>>
209
209
// CHECK: template <> struct KernelInfo<::T1<::T3<::type_argument_template_enum::E>>>
210
210
// CHECK: template <> struct KernelInfo<::dummy_functor_8<::EnumTypeOut, Baz>>
0 commit comments