summaryrefslogtreecommitdiffstats
path: root/libcxx/test/depr/depr.c.headers/tgmath_h.pass.cpp
blob: c4c9e8587c2295c0a76069c6aaf13defe20ccccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//===----------------------------------------------------------------------===//
//
//                     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.
//
//===----------------------------------------------------------------------===//

// <tgmath.h>

#include <tgmath.h>

#ifndef _LIBCPP_VERSION
#error _LIBCPP_VERSION not defined
#endif

int main()
{
    std::complex<double> cd;
    double x = sin(1.0);
}
OpenPOWER on IntegriCloud