summaryrefslogtreecommitdiffstats
path: root/libcxx/test/libcxx/depr/depr.c.headers/math_h.sh.cpp
blob: 8048865c34be87d6c031f63ad73584d60d2f4404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// RUN: %compile -fsyntax-only

#ifdef _MSC_VER

#include <math.h>

#define _USE_MATH_DEFINES
#include <math.h>

#ifndef M_PI
#error M_PI not defined
#endif

#endif
OpenPOWER on IntegriCloud