xref: /aosp_15_r20/external/libcxx/test/std/numerics/c.math/ctgmath.pass.cpp (revision 58b9f456b02922dfdb1fad8a988d5fd8765ecb80)
1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 // <ctgmath>
11 
12 #include <ctgmath>
13 
main()14 int main()
15 {
16     std::complex<double> cd;
17     (void)cd;
18     double x = std::sin(0);
19     ((void)x); // Prevent unused warning
20 }
21