https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123440

Boris Staletic <boris.staletic at protonmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris.staletic at protonmail 
dot c
                   |                            |om

--- Comment #3 from Boris Staletic <boris.staletic at protonmail dot com> ---
This one does not ICE any more but test_1 through test_6 (but not ex_8!) all
have the same error:

```
foo.cpp:48:16: error: ‘constinit’ variable ‘test_6’ does not have a constant
initializer
   48 | constinit auto test_6 = get_member_ptr<test_struct, 6>();
      |                ^~~~~~
foo.cpp:48:56: error: uncaught exception of type ‘std::meta::exception’;
‘what()’: ‘value cannot be extracted’
   48 | constinit auto test_6 = get_member_ptr<test_struct, 6>();
      |                                                        ^
```

Reply via email to