blob: 51b28dea61e63bd550f53e85a77f9a70f5c8ac3d [file] [log] [blame]
// CWG 3123
// { dg-do run { target c++26 } }
#include <tuple>
int
main ()
{
long l = 0;
std::tuple <int, long, unsigned> t = { 1, 2L, 3U };
template for (auto &&x : t)
l += x;
if (l != 6L)
__builtin_abort ();
}