1//===----------------------------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9// <tgmath.h>
10
11#include <tgmath.h>
12
13int main(int, char**) {
14 std::complex<double> cd;
15 (void)cd;
16 double x = sin(x: 1.0);
17 (void)x; // to placate scan-build
18
19 return 0;
20}
21

source code of libcxx/test/std/depr/depr.c.headers/tgmath_h.pass.cpp