Move more _LIBCPP_VERSION tests to test/libcxx.

llvm-svn: 273365
This commit is contained in:
Eric Fiselier 2016-06-22 02:07:26 +00:00
parent 0202dec266
commit 189d6a8834
19 changed files with 39 additions and 8 deletions

View File

@ -0,0 +1,20 @@
//===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
// test <cassert>
#include <cassert>
#ifndef _LIBCPP_VERSION
#error _LIBCPP_VERSION not defined
#endif
int main()
{
}

View File

@ -0,0 +1,19 @@
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
// test <cerrno>
#include <cerrno>
#ifndef _LIBCPP_VERSION
#error _LIBCPP_VERSION not defined
#endif
int main() {}

View File

@ -15,10 +15,6 @@
#error assert not defined
#endif
#ifndef _LIBCPP_VERSION
#error _LIBCPP_VERSION not defined
#endif
int main()
{
}

View File

@ -12,10 +12,6 @@
#include <cerrno>
#ifndef _LIBCPP_VERSION
#error _LIBCPP_VERSION not defined
#endif
#ifndef E2BIG
#error E2BIG not defined
#endif