gcc/libstdc++-v3/testsuite/experimental
Jakub Jelinek e1389417f9 re PR c++/87386 (Error message for static_assert show wrong range)
PR c++/87386
	* parser.c (cp_parser_primary_expression): Use
	id_expression.get_location () instead of id_expr_token->location.
	Adjust the range from id_expr_token->location to
	id_expressio.get_finish ().
	(cp_parser_operator_function_id): Pass location of the operator
	token down to cp_parser_operator.
	(cp_parser_operator): Add start_loc argument, always construct a
	location with caret at start_loc and range from start_loc to the
	finish of the last token.
gcc/testsuite/
	* g++.dg/diagnostic/pr87386.C: New test.
	* g++.dg/parse/error17.C: Adjust expected diagnostics.
libstdc++-v3/
	* testsuite/20_util/scoped_allocator/69293_neg.cc: Adjust expected
	line.
	* testsuite/20_util/uses_allocator/cons_neg.cc: Likewise.
	* testsuite/20_util/uses_allocator/69293_neg.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements2.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements3.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements4.cc: Likewise.
	* testsuite/experimental/propagate_const/requirements5.cc: Likewise.

From-SVN: r266359
2018-11-21 23:41:07 +01:00
..
algorithm Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
any Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
array Update copyright years. 2018-01-03 11:03:58 +01:00
chrono Update copyright years. 2018-01-03 11:03:58 +01:00
deque Update copyright years. 2018-01-03 11:03:58 +01:00
filesystem Mark some Filesystem tests as XFAIL for mingw 2018-06-05 08:37:30 +01:00
forward_list Update copyright years. 2018-01-03 11:03:58 +01:00
functional PR libstdc++/87538 Verify fix for std::experimental::not_fn 2018-10-08 13:17:58 +01:00
iterator Update copyright years. 2018-01-03 11:03:58 +01:00
list Update copyright years. 2018-01-03 11:03:58 +01:00
map Update copyright years. 2018-01-03 11:03:58 +01:00
memory Update copyright years. 2018-01-03 11:03:58 +01:00
memory_resource PR libstdc++/77691 increase allocation size to at least alignment 2018-10-12 00:21:11 +01:00
net Rename namespace alias in test to avoid name collision 2018-10-16 17:13:00 +01:00
numeric Update copyright years. 2018-01-03 11:03:58 +01:00
optional Update copyright years. 2018-01-03 11:03:58 +01:00
polymorphic_allocator Skip tests that depend on the cxx11 std::string 2018-08-23 09:26:16 +01:00
propagate_const re PR c++/87386 (Error message for static_assert show wrong range) 2018-11-21 23:41:07 +01:00
random Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
ratio Update copyright years. 2018-01-03 11:03:58 +01:00
set Update copyright years. 2018-01-03 11:03:58 +01:00
source_location Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
string Update copyright years. 2018-01-03 11:03:58 +01:00
string_view 10.cc: Add dg-require-fileio. 2018-08-31 15:09:47 -04:00
system_error Update copyright years. 2018-01-03 11:03:58 +01:00
tuple Update copyright years. 2018-01-03 11:03:58 +01:00
type_erased_allocator Update copyright years. 2018-01-03 11:03:58 +01:00
type_traits Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_map Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_set Update copyright years. 2018-01-03 11:03:58 +01:00
vector Update copyright years. 2018-01-03 11:03:58 +01:00
feat-cxx14.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00
feat-lib-fund.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00