blob: 4cba6031aafb6c9d4bc1871e493d474cbbbf4f09 [file] [log] [blame]
Howard Hinnant3e519522010-05-11 19:42:16 +00001//===----------------------------------------------------------------------===//
2//
Chandler Carruth57b08b02019-01-19 10:56:40 +00003// 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
Howard Hinnant3e519522010-05-11 19:42:16 +00006//
7//===----------------------------------------------------------------------===//
8
9// <ctgmath>
10
11#include <ctgmath>
12
JF Bastien2df59c52019-02-04 20:31:13 +000013int main(int, char**)
Howard Hinnant3e519522010-05-11 19:42:16 +000014{
15 std::complex<double> cd;
Benjamin Kramer346bd6a2017-10-14 15:52:38 +000016 (void)cd;
Howard Hinnant3e519522010-05-11 19:42:16 +000017 double x = std::sin(0);
Stephan T. Lavavej4dc0ed82016-11-14 17:35:14 +000018 ((void)x); // Prevent unused warning
JF Bastien2df59c52019-02-04 20:31:13 +000019
20 return 0;
Howard Hinnant3e519522010-05-11 19:42:16 +000021}