Sign in
gnu
/
gcc
/
ad820b0bb5f8342a8db2831d1f15c103583a3ba0
/
.
/
libstdc++-v3
/
testsuite
/
20_util
/
variant
/
100384.cc
blob: 4866aa017ffe7b51002bf143d1fb484e450eb3a1 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++17 } }
#include
<variant>
int
visit
(
int
*,
std
::
true_type
)
{
return
0
;
}
const
std
::
true_type dat
;
int
i
=
visit
(
nullptr
,
dat
);