| 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 | |
| 13 | int 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 | |