[LVI] Add trunc to i1 handling. (#124480)
[llvm-project.git] / libcxx / test / std / depr / depr.c.headers / tgmath_h.pass.cpp
blobe29c1a742e74a62fc92e47af133f972b7431b37a
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 //===----------------------------------------------------------------------===//
9 // <tgmath.h>
11 #include <tgmath.h>
13 int main(int, char**) {
14 std::complex<double> cd;
15 (void)cd;
16 double x = sin(1.0);
17 (void)x; // to placate scan-build
19 return 0;