libstdc++ testsuite: Correct S0 in std/time/hh_mm_ss/1.cc
commita939dd835798efd40b78f7c0070177616e3f36d3
authorHans-Peter Nilsson <hp@axis.com>
Wed, 1 Feb 2023 13:56:47 +0000 (1 14:56 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 1 Feb 2023 16:58:22 +0000 (1 17:58 +0100)
treed55ef22aade420d3085d773906e64c4b475952f7
parentdbc4db7e824719084ee32d02edcf2b6191a05f27
libstdc++ testsuite: Correct S0 in std/time/hh_mm_ss/1.cc

For targets where the ABI mandates structure layout that has
no padding, like cris-elf, this test started failing when
introduced as an add-on to the existing 1.cc, thereby
effectively causing a regression in testsuite results.
Adding an empty structure to S0, corresponds better to the
layout of hh_mm_ss<seconds>.

PR testsuite/108632
* testsuite/std/time/hh_mm_ss/1.cc (size): Add empty
struct at end of S0.
libstdc++-v3/testsuite/std/time/hh_mm_ss/1.cc