aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-10-20 20:12:28 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-10-20 20:20:18 +0100
commit4ba4b053151a20262d4b61eb4501aa1c48337abb (patch)
tree7b5eee1327bf4b70bbf087d507c64cc79b06f1dd /gcc/fortran/expr.c
parent154c6d430ee173904237de64d5aae11565201318 (diff)
downloadgcc-4ba4b053151a20262d4b61eb4501aa1c48337abb.zip
gcc-4ba4b053151a20262d4b61eb4501aa1c48337abb.tar.gz
gcc-4ba4b053151a20262d4b61eb4501aa1c48337abb.tar.bz2
libstdc++: Add missing test for std::optional::transform(F&&)
The test_copy_elision() function was supposed to ensure that the result is constructed directly in the std::optional, without early temporary materialization. But I forgot to write the test. libstdc++-v3/ChangeLog: * testsuite/20_util/optional/monadic/transform.cc: Check that an rvalue result is not materialized too soon.
Diffstat (limited to 'gcc/fortran/expr.c')
0 files changed, 0 insertions, 0 deletions