libcxx

libcxx mirror with random patches
git clone https://git.neptards.moe/neptards/libcxx.git
Log | Files | Refs

tgmath_h.pass.cpp (514B)


      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 // <tgmath.h>
     11 
     12 #include <tgmath.h>
     13 
     14 int main()
     15 {
     16     std::complex<double> cd;
     17     (void)cd;
     18     double x = sin(1.0);
     19     (void)x; // to placate scan-build
     20 }