diff options
157 files changed, 2862 insertions, 33 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 27f02b5..885a786 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,597 @@ +2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + + Directory layout flattening. + + Added in testsuite: + * tr1/4_metaprogramming/add_const + * tr1/4_metaprogramming/add_const/requirements + * tr1/4_metaprogramming/add_const/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/add_const/requirements/typedefs.cc + * tr1/4_metaprogramming/add_cv + * tr1/4_metaprogramming/add_cv/requirements + * tr1/4_metaprogramming/add_cv/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/add_cv/requirements/typedefs.cc + * tr1/4_metaprogramming/add_pointer + * tr1/4_metaprogramming/add_pointer/requirements + * tr1/4_metaprogramming/add_pointer/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/add_pointer/requirements/typedefs.cc + * tr1/4_metaprogramming/add_reference + * tr1/4_metaprogramming/add_reference/requirements + * tr1/4_metaprogramming/add_reference/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/add_reference/requirements/typedefs.cc + * tr1/4_metaprogramming/add_volatile + * tr1/4_metaprogramming/add_volatile/requirements + * tr1/4_metaprogramming/add_volatile/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/add_volatile/requirements/typedefs.cc + * tr1/4_metaprogramming/aligned_storage + * tr1/4_metaprogramming/aligned_storage/requirements + * tr1/4_metaprogramming/aligned_storage/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/aligned_storage/requirements/typedefs.cc + * tr1/4_metaprogramming/alignment_of + * tr1/4_metaprogramming/alignment_of/requirements + * tr1/4_metaprogramming/alignment_of/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/alignment_of/requirements/typedefs.cc + * tr1/4_metaprogramming/alignment_of/value.cc + * tr1/4_metaprogramming/extent + * tr1/4_metaprogramming/extent/requirements + * tr1/4_metaprogramming/extent/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/extent/requirements/typedefs.cc + * tr1/4_metaprogramming/extent/value.cc + * tr1/4_metaprogramming/has_nothrow_assign + * tr1/4_metaprogramming/has_nothrow_assign/requirements + * tr1/4_metaprogramming/has_nothrow_assign/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/has_nothrow_assign/requirements/typedefs.cc + * tr1/4_metaprogramming/has_nothrow_assign/value.cc + * tr1/4_metaprogramming/has_nothrow_constructor + * tr1/4_metaprogramming/has_nothrow_constructor/requirements + * tr1/4_metaprogramming/has_nothrow_constructor/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/has_nothrow_constructor/ + requirements/typedefs.cc + * tr1/4_metaprogramming/has_nothrow_constructor/value.cc + * tr1/4_metaprogramming/has_nothrow_copy + * tr1/4_metaprogramming/has_nothrow_copy/requirements + * tr1/4_metaprogramming/has_nothrow_copy/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/has_nothrow_copy/requirements/typedefs.cc + * tr1/4_metaprogramming/has_nothrow_copy/value.cc + * tr1/4_metaprogramming/has_trivial_assign + * tr1/4_metaprogramming/has_trivial_assign/requirements + * tr1/4_metaprogramming/has_trivial_assign/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/has_trivial_assign/requirements/typedefs.cc + * tr1/4_metaprogramming/has_trivial_assign/value.cc + * tr1/4_metaprogramming/has_trivial_constructor + * tr1/4_metaprogramming/has_trivial_constructor/requirements + * tr1/4_metaprogramming/has_trivial_constructor/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/has_trivial_constructor/ + requirements/typedefs.cc + * tr1/4_metaprogramming/has_trivial_constructor/value.cc + * tr1/4_metaprogramming/has_trivial_copy + * tr1/4_metaprogramming/has_trivial_copy/requirements + * tr1/4_metaprogramming/has_trivial_copy/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/has_trivial_copy/requirements/typedefs.cc + * tr1/4_metaprogramming/has_trivial_copy/value.cc + * tr1/4_metaprogramming/has_trivial_destructor + * tr1/4_metaprogramming/has_trivial_destructor/requirements + * tr1/4_metaprogramming/has_trivial_destructor/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/has_trivial_destructor/requirements/typedefs.cc + * tr1/4_metaprogramming/has_trivial_destructor/value.cc + * tr1/4_metaprogramming/has_virtual_destructor + * tr1/4_metaprogramming/has_virtual_destructor/requirements + * tr1/4_metaprogramming/has_virtual_destructor/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/has_virtual_destructor/requirements/typedefs.cc + * tr1/4_metaprogramming/has_virtual_destructor/value.cc + * tr1/4_metaprogramming/integral_constant + * tr1/4_metaprogramming/integral_constant/requirements + * tr1/4_metaprogramming/integral_constant/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/integral_constant/requirements/typedefs.cc + * tr1/4_metaprogramming/integral_constant/true_false_value.cc + * tr1/4_metaprogramming/is_abstract + * tr1/4_metaprogramming/is_abstract/requirements + * tr1/4_metaprogramming/is_abstract/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_abstract/requirements/typedefs.cc + * tr1/4_metaprogramming/is_abstract/value.cc + * tr1/4_metaprogramming/is_arithmetic + * tr1/4_metaprogramming/is_arithmetic/requirements + * tr1/4_metaprogramming/is_arithmetic/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_arithmetic/requirements/typedefs.cc + * tr1/4_metaprogramming/is_arithmetic/value.cc + * tr1/4_metaprogramming/is_array + * tr1/4_metaprogramming/is_array/requirements + * tr1/4_metaprogramming/is_array/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_array/requirements/typedefs.cc + * tr1/4_metaprogramming/is_array/value.cc + * tr1/4_metaprogramming/is_base_of + * tr1/4_metaprogramming/is_base_of/requirements + * tr1/4_metaprogramming/is_base_of/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_base_of/requirements/typedefs.cc + * tr1/4_metaprogramming/is_base_of/value.cc + * tr1/4_metaprogramming/is_class + * tr1/4_metaprogramming/is_class/requirements + * tr1/4_metaprogramming/is_class/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_class/requirements/typedefs.cc + * tr1/4_metaprogramming/is_class/value.cc + * tr1/4_metaprogramming/is_compound + * tr1/4_metaprogramming/is_compound/requirements + * tr1/4_metaprogramming/is_compound/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_compound/requirements/typedefs.cc + * tr1/4_metaprogramming/is_compound/value.cc + * tr1/4_metaprogramming/is_const + * tr1/4_metaprogramming/is_const/requirements + * tr1/4_metaprogramming/is_const/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_const/requirements/typedefs.cc + * tr1/4_metaprogramming/is_const/value.cc + * tr1/4_metaprogramming/is_convertible + * tr1/4_metaprogramming/is_convertible/requirements + * tr1/4_metaprogramming/is_convertible/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_convertible/requirements/typedefs.cc + * tr1/4_metaprogramming/is_convertible/value.cc + * tr1/4_metaprogramming/is_empty + * tr1/4_metaprogramming/is_empty/requirements + * tr1/4_metaprogramming/is_empty/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_empty/requirements/typedefs.cc + * tr1/4_metaprogramming/is_empty/value.cc + * tr1/4_metaprogramming/is_enum + * tr1/4_metaprogramming/is_enum/requirements + * tr1/4_metaprogramming/is_enum/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_enum/requirements/typedefs.cc + * tr1/4_metaprogramming/is_enum/value.cc + * tr1/4_metaprogramming/is_floating_point + * tr1/4_metaprogramming/is_floating_point/requirements + * tr1/4_metaprogramming/is_floating_point/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_floating_point/requirements/typedefs.cc + * tr1/4_metaprogramming/is_floating_point/value.cc + * tr1/4_metaprogramming/is_function + * tr1/4_metaprogramming/is_function/requirements + * tr1/4_metaprogramming/is_function/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_function/requirements/typedefs.cc + * tr1/4_metaprogramming/is_function/value.cc + * tr1/4_metaprogramming/is_fundamental + * tr1/4_metaprogramming/is_fundamental/requirements + * tr1/4_metaprogramming/is_fundamental/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_fundamental/requirements/typedefs.cc + * tr1/4_metaprogramming/is_fundamental/value.cc + * tr1/4_metaprogramming/is_integral + * tr1/4_metaprogramming/is_integral/requirements + * tr1/4_metaprogramming/is_integral/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_integral/requirements/typedefs.cc + * tr1/4_metaprogramming/is_integral/value.cc + * tr1/4_metaprogramming/is_member_function_pointer + * tr1/4_metaprogramming/is_member_function_pointer/requirements + * tr1/4_metaprogramming/is_member_function_pointer/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_member_function_pointer/ + requirements/typedefs.cc + * tr1/4_metaprogramming/is_member_function_pointer/value.cc + * tr1/4_metaprogramming/is_member_object_pointer + * tr1/4_metaprogramming/is_member_object_pointer/requirements + * tr1/4_metaprogramming/is_member_object_pointer/ + requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_member_object_pointer/ + requirements/typedefs.cc + * tr1/4_metaprogramming/is_member_object_pointer/value.cc + * tr1/4_metaprogramming/is_member_pointer + * tr1/4_metaprogramming/is_member_pointer/requirements + * tr1/4_metaprogramming/is_member_pointer/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_member_pointer/requirements/typedefs.cc + * tr1/4_metaprogramming/is_member_pointer/value.cc + * tr1/4_metaprogramming/is_object + * tr1/4_metaprogramming/is_object/requirements + * tr1/4_metaprogramming/is_object/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_object/requirements/typedefs.cc + * tr1/4_metaprogramming/is_object/value.cc + * tr1/4_metaprogramming/is_pod + * tr1/4_metaprogramming/is_pod/requirements + * tr1/4_metaprogramming/is_pod/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_pod/requirements/typedefs.cc + * tr1/4_metaprogramming/is_pod/value.cc + * tr1/4_metaprogramming/is_pointer + * tr1/4_metaprogramming/is_pointer/requirements + * tr1/4_metaprogramming/is_pointer/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_pointer/requirements/typedefs.cc + * tr1/4_metaprogramming/is_pointer/value.cc + * tr1/4_metaprogramming/is_polymorphic + * tr1/4_metaprogramming/is_polymorphic/requirements + * tr1/4_metaprogramming/is_polymorphic/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_polymorphic/requirements/typedefs.cc + * tr1/4_metaprogramming/is_polymorphic/value.cc + * tr1/4_metaprogramming/is_reference + * tr1/4_metaprogramming/is_reference/requirements + * tr1/4_metaprogramming/is_reference/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_reference/requirements/typedefs.cc + * tr1/4_metaprogramming/is_reference/value.cc + * tr1/4_metaprogramming/is_same + * tr1/4_metaprogramming/is_same/requirements + * tr1/4_metaprogramming/is_same/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_same/requirements/typedefs.cc + * tr1/4_metaprogramming/is_same/value.cc + * tr1/4_metaprogramming/is_scalar + * tr1/4_metaprogramming/is_scalar/requirements + * tr1/4_metaprogramming/is_scalar/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_scalar/requirements/typedefs.cc + * tr1/4_metaprogramming/is_scalar/value.cc + * tr1/4_metaprogramming/is_signed + * tr1/4_metaprogramming/is_signed/requirements + * tr1/4_metaprogramming/is_signed/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_signed/requirements/typedefs.cc + * tr1/4_metaprogramming/is_signed/value.cc + * tr1/4_metaprogramming/is_union + * tr1/4_metaprogramming/is_union/requirements + * tr1/4_metaprogramming/is_union/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_union/requirements/typedefs.cc + * tr1/4_metaprogramming/is_union/value.cc + * tr1/4_metaprogramming/is_unsigned + * tr1/4_metaprogramming/is_unsigned/requirements + * tr1/4_metaprogramming/is_unsigned/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_unsigned/requirements/typedefs.cc + * tr1/4_metaprogramming/is_unsigned/value.cc + * tr1/4_metaprogramming/is_void + * tr1/4_metaprogramming/is_void/requirements + * tr1/4_metaprogramming/is_void/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/is_void/requirements/typedefs.cc + * tr1/4_metaprogramming/is_void/value.cc + * tr1/4_metaprogramming/is_volatile + * tr1/4_metaprogramming/is_volatile/requirements + * tr1/4_metaprogramming/is_volatile/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/is_volatile/requirements/typedefs.cc + * tr1/4_metaprogramming/is_volatile/value.cc + * tr1/4_metaprogramming/rank + * tr1/4_metaprogramming/rank/requirements + * tr1/4_metaprogramming/rank/requirements/explicit_instantiations.cc + * tr1/4_metaprogramming/rank/requirements/typedefs.cc + * tr1/4_metaprogramming/rank/value.cc + * tr1/4_metaprogramming/remove_all_extents + * tr1/4_metaprogramming/remove_all_extents/requirements + * tr1/4_metaprogramming/remove_all_extents/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_all_extents/value.cc + * tr1/4_metaprogramming/remove_const + * tr1/4_metaprogramming/remove_const/requirements + * tr1/4_metaprogramming/remove_const/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_const/value.cc + * tr1/4_metaprogramming/remove_cv + * tr1/4_metaprogramming/remove_cv/requirements + * tr1/4_metaprogramming/remove_cv/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_cv/value.cc + * tr1/4_metaprogramming/remove_extent + * tr1/4_metaprogramming/remove_extent/requirements + * tr1/4_metaprogramming/remove_extent/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_extent/value.cc + * tr1/4_metaprogramming/remove_pointer + * tr1/4_metaprogramming/remove_pointer/requirements + * tr1/4_metaprogramming/remove_pointer/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_pointer/value.cc + * tr1/4_metaprogramming/remove_reference + * tr1/4_metaprogramming/remove_reference/requirements + * tr1/4_metaprogramming/remove_reference/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_reference/value.cc + * tr1/4_metaprogramming/remove_volatile + * tr1/4_metaprogramming/remove_volatile/requirements + * tr1/4_metaprogramming/remove_volatile/requirements/ + explicit_instantiations.cc + * tr1/4_metaprogramming/remove_volatile/value.cc + + Deleted in testsuite: + * tr1/4_metaprogramming/alignment_of/alignment_of.cc + * tr1/4_metaprogramming/alignment_of/typedefs.cc + * tr1/4_metaprogramming/array_modifications + * tr1/4_metaprogramming/array_modifications/remove_all_extents.cc + * tr1/4_metaprogramming/array_modifications/remove_extent.cc + * tr1/4_metaprogramming/composite_type_traits + * tr1/4_metaprogramming/composite_type_traits/is_arithmetic + * tr1/4_metaprogramming/composite_type_traits/is_arithmetic/ + is_arithmetic.cc + * tr1/4_metaprogramming/composite_type_traits/is_arithmetic/typedefs.cc + * tr1/4_metaprogramming/composite_type_traits/is_compound + * tr1/4_metaprogramming/composite_type_traits/is_compound/ + is_compound.cc + * tr1/4_metaprogramming/composite_type_traits/is_compound/typedefs.cc + * tr1/4_metaprogramming/composite_type_traits/is_fundamental + * tr1/4_metaprogramming/composite_type_traits/is_fundamental/ + is_fundamental.cc + * tr1/4_metaprogramming/composite_type_traits/is_fundamental/ + typedefs.cc + * tr1/4_metaprogramming/composite_type_traits/is_member_pointer + * tr1/4_metaprogramming/composite_type_traits/is_member_pointer/ + is_member_pointer.cc + * tr1/4_metaprogramming/composite_type_traits/is_member_pointer/ + typedefs.cc + * tr1/4_metaprogramming/composite_type_traits/is_object + * tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc + * tr1/4_metaprogramming/composite_type_traits/is_object/is_object.cc + * tr1/4_metaprogramming/composite_type_traits/is_object/typedefs.cc + * tr1/4_metaprogramming/composite_type_traits/is_scalar + * tr1/4_metaprogramming/composite_type_traits/is_scalar/is_scalar.cc + * tr1/4_metaprogramming/composite_type_traits/is_scalar/typedefs.cc + * tr1/4_metaprogramming/const_volatile_modifications + * tr1/4_metaprogramming/const_volatile_modifications/add_const.cc + * tr1/4_metaprogramming/const_volatile_modifications/add_cv.cc + * tr1/4_metaprogramming/const_volatile_modifications/add_volatile.cc + * tr1/4_metaprogramming/const_volatile_modifications/remove_const.cc + * tr1/4_metaprogramming/const_volatile_modifications/remove_cv.cc + * tr1/4_metaprogramming/const_volatile_modifications/remove_volatile.cc + * tr1/4_metaprogramming/extent/extent.cc + * tr1/4_metaprogramming/extent/typedefs.cc + * tr1/4_metaprogramming/has_nothrow_assign/has_nothrow_assign.cc + * tr1/4_metaprogramming/has_nothrow_assign/typedefs.cc + * tr1/4_metaprogramming/has_nothrow_constructor/ + has_nothrow_constructor.cc + * tr1/4_metaprogramming/has_nothrow_constructor/typedefs.cc + * tr1/4_metaprogramming/has_nothrow_copy/has_nothrow_copy.cc + * tr1/4_metaprogramming/has_nothrow_copy/typedefs.cc + * tr1/4_metaprogramming/has_trivial_assign/has_trivial_assign.cc + * tr1/4_metaprogramming/has_trivial_assign/typedefs.cc + * tr1/4_metaprogramming/has_trivial_constructor/ + has_trivial_constructor.cc + * tr1/4_metaprogramming/has_trivial_constructor/typedefs.cc + * tr1/4_metaprogramming/has_trivial_copy/has_trivial_copy.cc + * tr1/4_metaprogramming/has_trivial_copy/typedefs.cc + * tr1/4_metaprogramming/has_trivial_destructor/ + has_trivial_destructor.cc + * tr1/4_metaprogramming/has_trivial_destructor/typedefs.cc + * tr1/4_metaprogramming/has_virtual_destructor/ + has_virtual_destructor.cc + * tr1/4_metaprogramming/has_virtual_destructor/typedefs.cc + * tr1/4_metaprogramming/helper_classes + * tr1/4_metaprogramming/helper_classes/static_definition.cc + * tr1/4_metaprogramming/helper_classes/true_false_type.cc + * tr1/4_metaprogramming/helper_classes/true_false_type_typedefs.cc + * tr1/4_metaprogramming/helper_classes/typedefs.cc + * tr1/4_metaprogramming/integral_constant/true_false_type.cc + * tr1/4_metaprogramming/integral_constant/typedefs.cc + * tr1/4_metaprogramming/is_abstract/is_abstract.cc + * tr1/4_metaprogramming/is_abstract/typedefs.cc + * tr1/4_metaprogramming/is_arithmetic/is_arithmetic.cc + * tr1/4_metaprogramming/is_arithmetic/typedefs.cc + * tr1/4_metaprogramming/is_array/is_array.cc + * tr1/4_metaprogramming/is_array/typedefs.cc + * tr1/4_metaprogramming/is_base_of/is_base_of.cc + * tr1/4_metaprogramming/is_base_of/typedefs.cc + * tr1/4_metaprogramming/is_class/is_class.cc + * tr1/4_metaprogramming/is_class/typedefs.cc + * tr1/4_metaprogramming/is_compound/is_compound.cc + * tr1/4_metaprogramming/is_compound/typedefs.cc + * tr1/4_metaprogramming/is_const/is_const.cc + * tr1/4_metaprogramming/is_const/typedefs.cc + * tr1/4_metaprogramming/is_convertible/is_convertible.cc + * tr1/4_metaprogramming/is_convertible/typedefs.cc + * tr1/4_metaprogramming/is_empty/is_empty.cc + * tr1/4_metaprogramming/is_empty/typedefs.cc + * tr1/4_metaprogramming/is_enum/is_enum.cc + * tr1/4_metaprogramming/is_enum/typedefs.cc + * tr1/4_metaprogramming/is_floating_point/is_floating_point.cc + * tr1/4_metaprogramming/is_floating_point/typedefs.cc + * tr1/4_metaprogramming/is_function/is_function.cc + * tr1/4_metaprogramming/is_function/typedefs.cc + * tr1/4_metaprogramming/is_fundamental/is_fundamental.cc + * tr1/4_metaprogramming/is_fundamental/typedefs.cc + * tr1/4_metaprogramming/is_integral/is_integral.cc + * tr1/4_metaprogramming/is_integral/typedefs.cc + * tr1/4_metaprogramming/is_member_function_pointer/ + is_member_function_pointer.cc + * tr1/4_metaprogramming/is_member_function_pointer/typedefs.cc + * tr1/4_metaprogramming/is_member_object_pointer/ + is_member_object_pointer.cc + * tr1/4_metaprogramming/is_member_object_pointer/typedefs.cc + * tr1/4_metaprogramming/is_member_pointer/is_member_pointer.cc + * tr1/4_metaprogramming/is_member_pointer/typedefs.cc + * tr1/4_metaprogramming/is_object/is_object.cc + * tr1/4_metaprogramming/is_object/typedefs.cc + * tr1/4_metaprogramming/is_pod/is_pod.cc + * tr1/4_metaprogramming/is_pod/typedefs.cc + * tr1/4_metaprogramming/is_pointer/is_pointer.cc + * tr1/4_metaprogramming/is_pointer/typedefs.cc + * tr1/4_metaprogramming/is_polymorphic/is_polymorphic.cc + * tr1/4_metaprogramming/is_polymorphic/typedefs.cc + * tr1/4_metaprogramming/is_reference/is_reference.cc + * tr1/4_metaprogramming/is_reference/typedefs.cc + * tr1/4_metaprogramming/is_same/is_same.cc + * tr1/4_metaprogramming/is_same/typedefs.cc + * tr1/4_metaprogramming/is_scalar/is_scalar.cc + * tr1/4_metaprogramming/is_scalar/typedefs.cc + * tr1/4_metaprogramming/is_signed/is_signed.cc + * tr1/4_metaprogramming/is_signed/typedefs.cc + * tr1/4_metaprogramming/is_union/is_union.cc + * tr1/4_metaprogramming/is_union/typedefs.cc + * tr1/4_metaprogramming/is_unsigned/is_unsigned.cc + * tr1/4_metaprogramming/is_unsigned/typedefs.cc + * tr1/4_metaprogramming/is_void/is_void.cc + * tr1/4_metaprogramming/is_void/typedefs.cc + * tr1/4_metaprogramming/is_volatile/is_volatile.cc + * tr1/4_metaprogramming/is_volatile/typedefs.cc + * tr1/4_metaprogramming/other_transformations + * tr1/4_metaprogramming/other_transformations/aligned_storage + * tr1/4_metaprogramming/other_transformations/aligned_storage/ + aligned_storage.cc + * tr1/4_metaprogramming/other_transformations/aligned_storage/ + typedefs.cc + * tr1/4_metaprogramming/pointer_modifications + * tr1/4_metaprogramming/pointer_modifications/add_pointer.cc + * tr1/4_metaprogramming/pointer_modifications/remove_pointer.cc + * tr1/4_metaprogramming/primary_type_categories + * tr1/4_metaprogramming/primary_type_categories/is_array + * tr1/4_metaprogramming/primary_type_categories/is_array/is_array.cc + * tr1/4_metaprogramming/primary_type_categories/is_array/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_class + * tr1/4_metaprogramming/primary_type_categories/is_class/is_class.cc + * tr1/4_metaprogramming/primary_type_categories/is_class/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_enum + * tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc + * tr1/4_metaprogramming/primary_type_categories/is_enum/is_enum.cc + * tr1/4_metaprogramming/primary_type_categories/is_enum/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_floating_point + * tr1/4_metaprogramming/primary_type_categories/is_floating_point/ + is_floating_point.cc + * tr1/4_metaprogramming/primary_type_categories/is_floating_point/ + typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_function + * tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc + * tr1/4_metaprogramming/primary_type_categories/is_function/ + is_function.cc + * tr1/4_metaprogramming/primary_type_categories/is_function/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_integral + * tr1/4_metaprogramming/primary_type_categories/is_integral/ + is_integral.cc + * tr1/4_metaprogramming/primary_type_categories/is_integral/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/ + is_member_function_pointer + * tr1/4_metaprogramming/primary_type_categories/ + is_member_function_pointer/is_member_function_pointer.cc + * tr1/4_metaprogramming/primary_type_categories/ + is_member_function_pointer/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/ + is_member_object_pointer + * tr1/4_metaprogramming/primary_type_categories/ + is_member_object_pointer/is_member_object_pointer.cc + * tr1/4_metaprogramming/primary_type_categories/ + is_member_object_pointer/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_pointer + * tr1/4_metaprogramming/primary_type_categories/is_pointer/ + is_pointer.cc + * tr1/4_metaprogramming/primary_type_categories/is_pointer/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_reference + * tr1/4_metaprogramming/primary_type_categories/is_reference/ + is_reference.cc + * tr1/4_metaprogramming/primary_type_categories/is_reference/ + typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_union + * tr1/4_metaprogramming/primary_type_categories/is_union/is_union.cc + * tr1/4_metaprogramming/primary_type_categories/is_union/typedefs.cc + * tr1/4_metaprogramming/primary_type_categories/is_void + * tr1/4_metaprogramming/primary_type_categories/is_void/is_void.cc + * tr1/4_metaprogramming/primary_type_categories/is_void/typedefs.cc + * tr1/4_metaprogramming/rank/rank.cc + * tr1/4_metaprogramming/rank/typedefs.cc + * tr1/4_metaprogramming/reference_modifications/add_reference.cc + * tr1/4_metaprogramming/reference_modifications/remove_reference.cc + * tr1/4_metaprogramming/relationships_between_types + * tr1/4_metaprogramming/relationships_between_types/is_base_of + * tr1/4_metaprogramming/relationships_between_types/is_base_of/ + is_base_of.cc + * tr1/4_metaprogramming/relationships_between_types/is_base_of/ + typedefs.cc + * tr1/4_metaprogramming/relationships_between_types/is_convertible + * tr1/4_metaprogramming/relationships_between_types/is_convertible/ + is_convertible.cc + * tr1/4_metaprogramming/relationships_between_types/is_convertible/ + typedefs.cc + * tr1/4_metaprogramming/relationships_between_types/is_same + * tr1/4_metaprogramming/relationships_between_types/is_same/is_same.cc + * tr1/4_metaprogramming/relationships_between_types/is_same/typedefs.cc + * tr1/4_metaprogramming/type_properties + * tr1/4_metaprogramming/type_properties/alignment_of + * tr1/4_metaprogramming/type_properties/alignment_of/alignment_of.cc + * tr1/4_metaprogramming/type_properties/alignment_of/typedefs.cc + * tr1/4_metaprogramming/type_properties/extent + * tr1/4_metaprogramming/type_properties/extent/extent.cc + * tr1/4_metaprogramming/type_properties/extent/typedefs.cc + * tr1/4_metaprogramming/type_properties/has_nothrow_assign + * tr1/4_metaprogramming/type_properties/has_nothrow_assign/ + has_nothrow_assign.cc + * tr1/4_metaprogramming/type_properties/has_nothrow_assign/typedefs.cc + * tr1/4_metaprogramming/type_properties/has_nothrow_constructor + * tr1/4_metaprogramming/type_properties/has_nothrow_constructor/ + has_nothrow_constructor.cc + * tr1/4_metaprogramming/type_properties/has_nothrow_constructor/ + typedefs.cc + * tr1/4_metaprogramming/type_properties/has_nothrow_copy + * tr1/4_metaprogramming/type_properties/has_nothrow_copy/ + has_nothrow_copy.cc + * tr1/4_metaprogramming/type_properties/has_nothrow_copy/typedefs.cc + * tr1/4_metaprogramming/type_properties/has_trivial_assign + * tr1/4_metaprogramming/type_properties/has_trivial_assign/ + has_trivial_assign.cc + * tr1/4_metaprogramming/type_properties/has_trivial_assign/typedefs.cc + * tr1/4_metaprogramming/type_properties/has_trivial_constructor + * tr1/4_metaprogramming/type_properties/has_trivial_constructor/ + has_trivial_constructor.cc + * tr1/4_metaprogramming/type_properties/has_trivial_constructor/ + typedefs.cc + * tr1/4_metaprogramming/type_properties/has_trivial_copy + * tr1/4_metaprogramming/type_properties/has_trivial_copy/ + has_trivial_copy.cc + * tr1/4_metaprogramming/type_properties/has_trivial_copy/typedefs.cc + * tr1/4_metaprogramming/type_properties/has_trivial_destructor + * tr1/4_metaprogramming/type_properties/has_trivial_destructor/ + has_trivial_destructor.cc + * tr1/4_metaprogramming/type_properties/has_trivial_destructor/ + typedefs.cc + * tr1/4_metaprogramming/type_properties/has_virtual_destructor + * tr1/4_metaprogramming/type_properties/has_virtual_destructor/ + has_virtual_destructor.cc + * tr1/4_metaprogramming/type_properties/has_virtual_destructor/ + typedefs.cc + * tr1/4_metaprogramming/type_properties/is_abstract + * tr1/4_metaprogramming/type_properties/is_abstract/is_abstract.cc + * tr1/4_metaprogramming/type_properties/is_abstract/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_const + * tr1/4_metaprogramming/type_properties/is_const/is_const.cc + * tr1/4_metaprogramming/type_properties/is_const/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_empty + * tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc + * tr1/4_metaprogramming/type_properties/is_empty/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_pod + * tr1/4_metaprogramming/type_properties/is_pod/is_pod.cc + * tr1/4_metaprogramming/type_properties/is_pod/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_polymorphic + * tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc + * tr1/4_metaprogramming/type_properties/is_polymorphic/ + is_polymorphic.cc + * tr1/4_metaprogramming/type_properties/is_polymorphic/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_signed + * tr1/4_metaprogramming/type_properties/is_signed/is_signed.cc + * tr1/4_metaprogramming/type_properties/is_signed/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_unsigned + * tr1/4_metaprogramming/type_properties/is_unsigned/is_unsigned.cc + * tr1/4_metaprogramming/type_properties/is_unsigned/typedefs.cc + * tr1/4_metaprogramming/type_properties/is_volatile + * tr1/4_metaprogramming/type_properties/is_volatile/is_volatile.cc + * tr1/4_metaprogramming/type_properties/is_volatile/typedefs.cc + * tr1/4_metaprogramming/type_properties/rank + * tr1/4_metaprogramming/type_properties/rank/rank.cc + * tr1/4_metaprogramming/type_properties/rank/typedefs.cc + 2007-04-30 Hans-Peter Nilsson <hp@axis.com> * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Correct diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_const/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_const/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..585d45e --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_const/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct add_const<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/add_const.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_const/requirements/typedefs.cc index 8669098..8669098 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/add_const.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_const/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_cv/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_cv/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..478f05b --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_cv/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct add_cv<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/add_cv.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_cv/requirements/typedefs.cc index c197501..c197501 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/add_cv.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_cv/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..00ec521 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct add_pointer<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/pointer_modifications/add_pointer.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/requirements/typedefs.cc index d87cd2e..d87cd2e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/pointer_modifications/add_pointer.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_pointer/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_reference/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_reference/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..fc08b68 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_reference/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct add_reference<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/reference_modifications/add_reference.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_reference/requirements/typedefs.cc index 29ad8c3..29ad8c3 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/reference_modifications/add_reference.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_reference/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_volatile/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_volatile/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..322946b --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_volatile/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct add_volatile<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/add_volatile.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_volatile/requirements/typedefs.cc index 489b059..489b059 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/add_volatile.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/add_volatile/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/aligned_storage/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/aligned_storage/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..f813d7f --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/aligned_storage/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct aligned_storage<1, alignment_of<test_type>::value>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/other_transformations/aligned_storage/aligned_storage.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/aligned_storage/requirements/typedefs.cc index bbc336c..bbc336c 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/other_transformations/aligned_storage/aligned_storage.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/aligned_storage/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..05f0cc8 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct alignment_of<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/alignment_of/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/requirements/typedefs.cc index 8df7bba..8df7bba 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/alignment_of/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/alignment_of/alignment_of.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/value.cc index 6da2822..6da2822 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/alignment_of/alignment_of.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/alignment_of/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..bcf77fe --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct extent<test_type, 2>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/requirements/typedefs.cc index c7d4b95..c7d4b95 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/value.cc index 6ccecac..6ccecac 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/extent/extent.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/extent/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..b32945f --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_nothrow_assign<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_assign/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/requirements/typedefs.cc index 7251a3a..7251a3a 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_assign/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_assign/has_nothrow_assign.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/value.cc index b74d932..b74d932 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_assign/has_nothrow_assign.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_assign/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..035747b --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_nothrow_constructor<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_constructor/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/requirements/typedefs.cc index 9e11984..9e11984 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_constructor/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_constructor/has_nothrow_constructor.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/value.cc index 02743a1..02743a1 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_constructor/has_nothrow_constructor.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_constructor/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..f34acd6 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_nothrow_copy<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_copy/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/requirements/typedefs.cc index 4ec8cb0..4ec8cb0 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_copy/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_copy/has_nothrow_copy.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/value.cc index 2ba1d9e..2ba1d9e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_nothrow_copy/has_nothrow_copy.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_nothrow_copy/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..3db6338 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_trivial_assign<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_assign/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/requirements/typedefs.cc index 124131d..124131d 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_assign/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_assign/has_trivial_assign.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/value.cc index ac35535..ac35535 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_assign/has_trivial_assign.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_assign/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..de52f59 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_trivial_constructor<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_constructor/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/requirements/typedefs.cc index f6a57fc..f6a57fc 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_constructor/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_constructor/has_trivial_constructor.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/value.cc index f6b1a1a..f6b1a1a 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_constructor/has_trivial_constructor.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_constructor/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..3194119 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_trivial_copy<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_copy/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/requirements/typedefs.cc index 0996f46..0996f46 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_copy/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_copy/has_trivial_copy.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/value.cc index 8158c18..8158c18 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_copy/has_trivial_copy.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_copy/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..6e2f678 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_trivial_destructor<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_destructor/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/requirements/typedefs.cc index 9486589..9486589 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_destructor/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_destructor/has_trivial_destructor.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/value.cc index 197de98..197de98 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_trivial_destructor/has_trivial_destructor.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_trivial_destructor/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..c530103 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct has_virtual_destructor<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_virtual_destructor/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/requirements/typedefs.cc index 94d81ea..94d81ea 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_virtual_destructor/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_virtual_destructor/has_virtual_destructor.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/value.cc index 910aede..910aede 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/has_virtual_destructor/has_virtual_destructor.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/has_virtual_destructor/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..eee4746 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct integral_constant<test_type, -3>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/requirements/typedefs.cc index e96c322..e96c322 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/static_definition.cc index bb2b3cd..bb2b3cd 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/static_definition.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/static_definition.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/true_false_type_typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/true_false_type_typedefs.cc index 853ea72..853ea72 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/true_false_type_typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/true_false_type_typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/true_false_type.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/true_false_value.cc index f3a65d6..f3a65d6 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/helper_classes/true_false_type.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/integral_constant/true_false_value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..de6f734 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_abstract<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_abstract/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/requirements/typedefs.cc index 49bb463..49bb463 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_abstract/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_abstract/is_abstract.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/value.cc index 89a10b3..89a10b3 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_abstract/is_abstract.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_abstract/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..fe20610 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_arithmetic<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_arithmetic/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/requirements/typedefs.cc index 17cd0a0..17cd0a0 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_arithmetic/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_arithmetic/is_arithmetic.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/value.cc index ddf0854..ddf0854 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_arithmetic/is_arithmetic.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_arithmetic/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..4ba326f --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_array<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_array/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/requirements/typedefs.cc index 660403d..660403d 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_array/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_array/is_array.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/value.cc index c38d159..c38d159 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_array/is_array.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_array/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..49bc62c --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_base_of<test_type, test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_base_of/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/requirements/typedefs.cc index 37ad6c6..37ad6c6 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_base_of/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_base_of/is_base_of.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/value.cc index 07c1794..07c1794 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_base_of/is_base_of.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_base_of/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..555c215 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_class<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_class/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/requirements/typedefs.cc index 8ad546a..8ad546a 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_class/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_class/is_class.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/value.cc index 5e88fb5..5e88fb5 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_class/is_class.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_class/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..ca8d858 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_compound<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_compound/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/requirements/typedefs.cc index 906076e..906076e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_compound/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_compound/is_compound.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/value.cc index 1708f58..1708f58 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_compound/is_compound.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_compound/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..ec96539 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_const<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_const/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/requirements/typedefs.cc index 3a5dd66..3a5dd66 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_const/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_const/is_const.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/value.cc index 55f3656..55f3656 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_const/is_const.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_const/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..077f064 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_convertible<test_type, test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_convertible/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/requirements/typedefs.cc index 6ee1de1..6ee1de1 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_convertible/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_convertible/is_convertible.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/value.cc index 7d98b01..7d98b01 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_convertible/is_convertible.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_convertible/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..53861ed --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_empty<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_empty/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/requirements/typedefs.cc index 346581d..346581d 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_empty/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/value.cc index 62b83a4..62b83a4 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_empty/is_empty.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_empty/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/24808.cc index 88a3cdc..88a3cdc 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/24808.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/24808.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..7f60c6d --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_enum<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/requirements/typedefs.cc index fc4e11b..fc4e11b 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/is_enum.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/value.cc index 97a77db..97a77db 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_enum/is_enum.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_enum/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..95bd58b --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_floating_point<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_floating_point/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/requirements/typedefs.cc index b19cf1f..b19cf1f 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_floating_point/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_floating_point/is_floating_point.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/value.cc index 9b8e846..9b8e846 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_floating_point/is_floating_point.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_floating_point/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/24808.cc index 6ba9969..6ba9969 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/24808.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/24808.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..0028cba --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_function<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/requirements/typedefs.cc index db70185..db70185 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/is_function.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/value.cc index 1ada9120..1ada9120 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_function/is_function.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_function/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..1b02119 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_fundamental<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_fundamental/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/requirements/typedefs.cc index a4744ed..a4744ed 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_fundamental/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_fundamental/is_fundamental.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/value.cc index 8a756c5..8a756c5 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_fundamental/is_fundamental.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_fundamental/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..d379190 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_integral<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_integral/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/requirements/typedefs.cc index 19d6a67..19d6a67 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_integral/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_integral/is_integral.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/value.cc index 2876c6d..2876c6d 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_integral/is_integral.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_integral/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..2cec047 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_member_function_pointer<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_function_pointer/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/requirements/typedefs.cc index 48f1f22..48f1f22 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_function_pointer/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_function_pointer/is_member_function_pointer.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/value.cc index b0b3f80..b0b3f80 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_function_pointer/is_member_function_pointer.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_function_pointer/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..a4ba065 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_member_object_pointer<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_object_pointer/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/requirements/typedefs.cc index 0add4a0..0add4a0 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_object_pointer/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_object_pointer/is_member_object_pointer.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/value.cc index e873edf..e873edf 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_member_object_pointer/is_member_object_pointer.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_object_pointer/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..e94a592 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_member_pointer<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_member_pointer/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/requirements/typedefs.cc index 65a882c..65a882c 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_member_pointer/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_member_pointer/is_member_pointer.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/value.cc index 0b194bb..0b194bb 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_member_pointer/is_member_pointer.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_member_pointer/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/24808.cc index 70ba016..70ba016 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/24808.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/24808.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..5677efe --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_object<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/requirements/typedefs.cc index 61cf43f..61cf43f 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/is_object.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/value.cc index 6283ece..6283ece 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_object/is_object.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_object/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..dd859fe --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_pod<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_pod/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/requirements/typedefs.cc index 8dbfd3c..8dbfd3c 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_pod/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_pod/is_pod.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/value.cc index 12a4a45..12a4a45 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_pod/is_pod.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pod/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..4e90d8f --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_pointer<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_pointer/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/requirements/typedefs.cc index 6ba35d1..6ba35d1 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_pointer/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_pointer/is_pointer.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/value.cc index 7435647..7435647 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_pointer/is_pointer.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_pointer/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/24809.cc index 0b8ab0f..0b8ab0f 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/24809.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/24809.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..02a2b58 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_polymorphic<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/requirements/typedefs.cc index 14ba690..14ba690 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/is_polymorphic.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/value.cc index 6dc5c1c..6dc5c1c 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_polymorphic/is_polymorphic.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_polymorphic/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..c6d528a --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_reference<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_reference/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/requirements/typedefs.cc index 30c9e27..30c9e27 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_reference/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_reference/is_reference.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/value.cc index 8a799b7..8a799b7 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_reference/is_reference.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_reference/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..94df35d --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_same<test_type, test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_same/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/requirements/typedefs.cc index 460ebbb..460ebbb 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_same/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_same/is_same.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/value.cc index 0fbae2e..0fbae2e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/relationships_between_types/is_same/is_same.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_same/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..0f1df9b --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_scalar<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_scalar/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/requirements/typedefs.cc index b684c7c..b684c7c 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_scalar/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_scalar/is_scalar.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/value.cc index e0cb20c..e0cb20c 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/composite_type_traits/is_scalar/is_scalar.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_scalar/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..fc6c18a --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_signed<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_signed/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/requirements/typedefs.cc index 86730ae..86730ae 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_signed/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_signed/is_signed.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/value.cc index 351dde8..351dde8 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_signed/is_signed.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_signed/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..19e79ff --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_union<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_union/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/requirements/typedefs.cc index 9f24c5e..9f24c5e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_union/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_union/is_union.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/value.cc index e381f88..e381f88 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_union/is_union.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_union/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..1016497 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_unsigned<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_unsigned/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/requirements/typedefs.cc index 4c90ece..4c90ece 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_unsigned/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_unsigned/is_unsigned.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/value.cc index 19bb975..19bb975 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_unsigned/is_unsigned.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_unsigned/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..4c0fb9a --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_void<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_void/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/requirements/typedefs.cc index 24d1913..24d1913 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_void/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_void/is_void.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/value.cc index 6f04508..6f04508 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/primary_type_categories/is_void/is_void.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_void/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..3c98b96 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct is_volatile<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_volatile/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/requirements/typedefs.cc index 2879442..2879442 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_volatile/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_volatile/is_volatile.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/value.cc index 6336ab7..6336ab7 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/is_volatile/is_volatile.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/is_volatile/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/other_transformations/aligned_storage/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/other_transformations/aligned_storage/typedefs.cc deleted file mode 100644 index 4e51378..0000000 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/other_transformations/aligned_storage/typedefs.cc +++ /dev/null @@ -1,33 +0,0 @@ -// 2005-01-11 Paolo Carlini <pcarlini@suse.de> -// -// Copyright (C) 2005 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 2, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING. If not, write to the Free -// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -// USA. - -// -// NB: This file is for testing tr1/type_traits with NO OTHER INCLUDES. - -#include <tr1/type_traits> - -// { dg-do compile } - -void test01() -{ - // Check for required typedefs - typedef std::tr1::aligned_storage<1, 1> test_type; - typedef test_type::type type; -} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..d95c8b8 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct rank<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/rank/typedefs.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/requirements/typedefs.cc index 800c316..800c316 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/rank/typedefs.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/requirements/typedefs.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/rank/rank.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/value.cc index 334de47..334de47 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/type_properties/rank/rank.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/rank/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_all_extents/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_all_extents/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..3541128 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_all_extents/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_all_extents<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/array_modifications/remove_all_extents.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_all_extents/value.cc index 8d0504e..8d0504e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/array_modifications/remove_all_extents.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_all_extents/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_const/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_const/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..d9e8095 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_const/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_const<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/remove_const.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_const/value.cc index 792596e..792596e 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/remove_const.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_const/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_cv/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_cv/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..964c3f9 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_cv/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_cv<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/remove_cv.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_cv/value.cc index 1afcc78..1afcc78 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/remove_cv.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_cv/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_extent/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_extent/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..1dfe1ba --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_extent/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_extent<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/array_modifications/remove_extent.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_extent/value.cc index 886f844..886f844 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/array_modifications/remove_extent.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_extent/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..12b8e6fd --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_pointer<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/pointer_modifications/remove_pointer.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/value.cc index 6c17d02..6c17d02 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/pointer_modifications/remove_pointer.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_pointer/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..70555cb --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_reference<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/reference_modifications/remove_reference.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/value.cc index e32312f..e32312f 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/reference_modifications/remove_reference.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_reference/value.cc diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_volatile/requirements/explicit_instantiations.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_volatile/requirements/explicit_instantiations.cc new file mode 100644 index 0000000..bd87c69 --- /dev/null +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_volatile/requirements/explicit_instantiations.cc @@ -0,0 +1,42 @@ +// { dg-do compile } +// 2007-04-30 Benjamin Kosnik <bkoz@redhat.com> + +// Copyright (C) 2007 Free Software Foundation, Inc. +// +// This file is part of the GNU ISO C++ Library. This library is free +// software; you can redistribute it and/or modify it under the +// terms of the GNU General Public License as published by the +// Free Software Foundation; either version 2, or (at your option) +// any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License along +// with this library; see the file COPYING. If not, write to the Free +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +// USA. + +// As a special exception, you may use this file as part of a free software +// library without restriction. Specifically, if other files instantiate +// templates or use macros or inline functions from this file, or you compile +// this file and link it with other files to produce an executable, this +// file does not by itself cause the resulting executable to be covered by +// the GNU General Public License. This exception does not however +// invalidate any other reasons why the executable file might be covered by +// the GNU General Public License. + +// NB: This file is for testing basic_ofstream with NO OTHER INCLUDES. + +#include <tr1/type_traits> + +namespace std +{ + namespace tr1 + { + typedef short test_type; + template struct remove_volatile<test_type>; + } +} diff --git a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/remove_volatile.cc b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_volatile/value.cc index 35c3d8e0..35c3d8e0 100644 --- a/libstdc++-v3/testsuite/tr1/4_metaprogramming/const_volatile_modifications/remove_volatile.cc +++ b/libstdc++-v3/testsuite/tr1/4_metaprogramming/remove_volatile/value.cc |