Commit f5eff41
committed
testsuite: Fix up g++.dg/reflect/type_trait14.C for -fimplicit-constexpr [PR124844]
The g++.dg/reflect/type_trait14.C test FAILs with -fimplicit-constexpr,
because in that case NLType is actually a literal type rather than
non-literal type and so is structural type too.
Fixed by making sure it is not a literal type even with
-fimplicit-constexpr.
2026-04-10 Jakub Jelinek <jakub@redhat.com>
PR c++/124844
* g++.dg/reflect/type_trait14.C (NLType::~NLType): Move definition out
of the class.
Reviewed-by: Jason Merrill <jason@redhat.com>1 parent 6535e20 commit f5eff41
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments