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 // <valarray> 11 12 // template <class T> 13 // class indirect_array 14 // { 15 // public: 16 // typedef T value_type; 17 18 #include <valarray> 19 #include <type_traits> 20 21 int main() 22 { 23 static_assert((std::is_same<std::indirect_array<int>::value_type, int>::value), ""); 24 } 25