blob: 8048865c34be87d6c031f63ad73584d60d2f4404 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// 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