summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp
blob: 24908ff03dc77977f41b36939918b05717470de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===----------------------------------------------------------------------===//
//
//                     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;
    (void)cd;
    double x = std::sin(0);
    ((void)x); // Prevent unused warning
}
OpenPOWER on IntegriCloud