summaryrefslogtreecommitdiff
path: root/test/std/depr/depr.c.headers/tgmath_h.pass.cpp
blob: 91727b6cc7282b6d87c4f484ad95b6a2a79de26d (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.
//
//===----------------------------------------------------------------------===//

// <tgmath.h>

#include <tgmath.h>

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