https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98367
--- Comment #1 from Justin Bassett <jbassett271 at gmail dot com> --- It also ICEs with a segfault even if the `myobject` doesn't do CTAD itself but has its type explicitly specified: https://godbolt.org/z/Mjfe6c . Inlining the non-CTAD version does not ICE, though: https://godbolt.org/z/M8x7sY