Commit 058c7854 by Jonathan Wakely Committed by Jonathan Wakely

Test source_location::current() in default member initializer

	* testsuite/experimental/source_location/1.cc: Change expected result
	for source_location::current() used in default member initializer.

From-SVN: r248111
parent 2673bae9
2017-05-16 Jonathan Wakely <jwakely@redhat.com>
* configure: Regenerate.
* testsuite/experimental/source_location/1.cc: Change expected result
for source_location::current() used in default member initializer.
* doc/xml/manual/status_cxx2017.xml: Update status table.
* doc/html/*: Regenerate.
* include/Makefile.am: Add new header.
......
......@@ -56,9 +56,9 @@ void test02()
VERIFY( s0.loc.function_name() == string_view(__FUNCTION__) );
S s1(1);
VERIFY( s1.loc.line() != 58 );
VERIFY( s1.loc.line() == 46 );
VERIFY( s1.loc.file_name() == __FILE__ );
// VERIFY( s1.loc.function_name() == s1.func );
VERIFY( s1.loc.function_name() == s1.func );
}
source_location f(source_location a = source_location::current()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment