1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include <utility>
11 #include <complex>
12 
13 #include <cassert>
14 
15 int main()
16 {
17 #if _LIBCPP_STD_VER > 11
18     typedef std::complex<float> cf;
19     auto t1 = std::make_pair<int, int> ( 42, 43 );
20     assert ( std::get<int>(t1) == 42 ); // two ints
21 #else
22 #error
23 #endif
24 }
25