xref: /llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/PR27375.pass.cpp (revision d2eccf9bb7f10bd5c9ac0259ee1b03f2e25fb7a1)
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 
main(int,char **)15 int main(int, char**) {
16     std::tuple<int&>(std::tuple<int&&>(42));
17 
18     return 0;
19 }
20