diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2024-01-22 01:09:03 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2024-02-10 04:41:18 +0100 |
commit | 48207a5f00d6ae7cb11038e7c17f6858de4a884e (patch) | |
tree | 6511d2d7345714739a7651252c6c402ecf6d82a1 /gcc/fortran/trans-common.cc | |
parent | 863202684dff775ae4a3e576f77044474384d41f (diff) | |
download | gcc-48207a5f00d6ae7cb11038e7c17f6858de4a884e.zip gcc-48207a5f00d6ae7cb11038e7c17f6858de4a884e.tar.gz gcc-48207a5f00d6ae7cb11038e7c17f6858de4a884e.tar.bz2 |
c++: testcases for PR113545 (constexpr with switch and passing non-constexpr parameter)
Test-cases, with constexpr-reinterpret3.C dg-ice:ing the PR c++/113545 bug.
Regarding the request in the comment, A dg-do run when there's an ICE
will cause some CI's to signal an error for the run being "UNRESOLVED"
(compilation failed to produce executable). Note that dejagnu (1.6.3)
itself doesn't consider this an error.
gcc/testsuite:
PR c++/113545
* g++.dg/cpp1y/constexpr-reinterpret3.C,
g++.dg/cpp1y/constexpr-reinterpret4.C: New tests.
Diffstat (limited to 'gcc/fortran/trans-common.cc')
0 files changed, 0 insertions, 0 deletions