1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9// Regression test for https://llvm.org/PR27375
10
11// UNSUPPORTED: c++03
12
13#include <tuple>
14
15int main(int, char**) {
16 std::tuple<int&>(std::tuple<int&&>(42));
17
18 return 0;
19}
20

source code of libcxx/test/std/utilities/tuple/tuple.tuple/PR27375.pass.cpp