summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
blob: 9e10690e3cac49c2eda69e5c7348e131fc3653f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===----------------------------------------------------------------------===//
//
//                     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.
//
//===----------------------------------------------------------------------===//

// <ctgmath>

#include <ctgmath>

int main()
{
    std::complex<double> cd;
    double x = std::sin(0);
    ((void)x); // Prevent unused warning
}
OpenPOWER on IntegriCloud