summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp
blob: 965a8de3c56e6f9aa6106cd18735ec316339ca93 (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.
//
//===----------------------------------------------------------------------===//

// <tgmath.h>

#include <tgmath.h>

int main()
{
    std::complex<double> cd;
    double x = sin(1.0);
    (void)x; // to placate scan-build
}
OpenPOWER on IntegriCloud