blob: 6bcd242d17781ab39de796028b4e34319c20a4ae [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.
//
//===----------------------------------------------------------------------===//
//
// <new> feature macros
/* Constant Value
__cpp_lib_destroying_delete 201806L
__cpp_lib_hardware_interference_size 201703L
__cpp_lib_launder 201606L
*/
#include <new>
#include <cassert>
#include "test_macros.h"
int main()
{
// ensure that the macros that are supposed to be defined in <new> are defined.
/*
#if !defined(__cpp_lib_fooby)
# error "__cpp_lib_fooby is not defined"
#elif __cpp_lib_fooby < 201606L
# error "__cpp_lib_fooby has an invalid value"
#endif
*/
}