commit 6c9731439357e2a385b16ad6521c05776ecf0562
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Aug 13 16:11:43 2015 +0100
* include/experimental/array: Add feature-test macro.
* testsuite/experimental/array/neg.cc: Update dg-error.
@@ -47,6 +47,7 @@ inline namespace fundamentals_v2
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
+#define __cpp_lib_experimental_make_array 201505
/**
* @defgroup make_array Array creation functions
* @ingroup experimental
@@ -24,5 +24,5 @@ int main()
{
int dummy;
auto bad = std::experimental::make_array(std::ref(dummy));
- // { dg-error "make_array cannot be used without an explicit target type if any of the types given is a reference_wrapper" "" { target *-*-* } 76 }
+ // { dg-error "make_array cannot be used without an explicit target type if any of the types given is a reference_wrapper" "" { target *-*-* } 77 }
}