]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/hash-map-tests.c
Add more self-tests for 'hash_map' with Value type with non-trivial constructor/destr...
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 13 Aug 2021 15:53:12 +0000 (17:53 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 18 Aug 2021 11:25:48 +0000 (13:25 +0200)
commite4f16e9f357a38ec702fb69a0ffab9d292a6af9b
tree1dd0269ffef96e1abcc5fee456810a14ba28850d
parent602fca427df6c5f7452677cfcdd16a5b9a3ca86a
Add more self-tests for 'hash_map' with Value type with non-trivial constructor/destructor

... to document the current behavior.

gcc/
* hash-map-tests.c (test_map_of_type_with_ctor_and_dtor): Extend.
(test_map_of_type_with_ctor_and_dtor_expand): Add function.
(hash_map_tests_c_tests): Call it.
gcc/hash-map-tests.c