summaryrefslogtreecommitdiff
path: root/libcxx/test/std/utilities/tuple/tuple.tuple/PR27375.pass.cpp
blob: 8560313bfca7ffe78d70a637ba3576d67e1f0577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// Regression test for https://llvm.org/PR27375

// UNSUPPORTED: c++03

#include <tuple>

int main(int, char**) {
    std::tuple<int&>(std::tuple<int&&>(42));

    return 0;
}