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// RUN: %compile -fsyntax-only 11 12#ifdef _MSC_VER 13 14#include <math.h> 15 16#define _USE_MATH_DEFINES 17#include <math.h> 18 19#ifndef M_PI 20#error M_PI not defined 21#endif 22 23#endif 24