| //===----------------------------------------------------------------------===// |
| // |
| // The LLVM Compiler Infrastructure |
| // |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| // UNSUPPORTED: c++98, c++03, c++11 |
| |
| // <experimental/tuple> |
| |
| // template <class T> constexpr size_t tuple_size_v = tuple_size<T>::value; |
| |
| // Test with non tuple type |
| |
| #include <experimental/tuple> |
| |
| namespace ex = std::experimental; |
| |
| int main() |
| { |
| auto x = ex::tuple_size_v<int>; |
| } |