diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-03-15 16:04:45 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-04-29 00:38:59 +0200 |
commit | 0416ac5ae0a97b09b8d4ab6617ae1c7802d2aa7f (patch) | |
tree | b58833fcf9663f935f14dc7566afbe8efcc9ad0d /gcc/testsuite/gcc.dg/cpp/pragma-3.c | |
parent | a1922f0252b3b09016df76bd5b10119206935e37 (diff) | |
download | gcc-0416ac5ae0a97b09b8d4ab6617ae1c7802d2aa7f.zip gcc-0416ac5ae0a97b09b8d4ab6617ae1c7802d2aa7f.tar.gz gcc-0416ac5ae0a97b09b8d4ab6617ae1c7802d2aa7f.tar.bz2 |
libstdc++: centralize and improve testing of shared_ptr/weak_ptr conversions
Since the conversions are under the same constraints, centralize the
test in one file instead of two, testing both smart pointer classes, to
ease future maintenance. This is used right away: more tests are added.
Amends r15-8048-gdf0e6509bf7442.
libstdc++-v3/ChangeLog:
* testsuite/20_util/shared_ptr/requirements/1.cc: Test both
shared_ptr and weak_ptr.
Add more tests.
* testsuite/20_util/weak_ptr/requirements/1.cc: Removed as
superseded by the other test.
Signed-off-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/pragma-3.c')
0 files changed, 0 insertions, 0 deletions