Sign in
gnu
/
gcc
/
refs/heads/devel/gccgo
/
.
/
libstdc++-v3
/
testsuite
/
20_util
/
expected
/
bad.cc
blob: 17bc6d69e88605eb36c5c89d8345b787e2a66376 [
file
] [
log
] [
blame
]
// { dg-options "-std=gnu++23" }
// { dg-do compile }
#include
<expected>
struct
E
{
E
()
=
default
;
E
(
E
&&)
=
default
;
};
void
test_pr105146
()
{
std
::
bad_expected_access
(
E
{});
}