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 // <ctgmath> 11 12 #include <ctgmath> 13 14 #ifndef _LIBCPP_VERSION 15 #error _LIBCPP_VERSION not defined 16 #endif 17 18 int main() 19 { 20 std::complex<double> cd; 21 double x = std::sin(0); 22 } 23