gcc/libstdc++-v3/testsuite/20_util/scoped_allocator
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
..
requirements Update copyright years. 2018-01-03 11:03:58 +01:00
1.cc Fix tests that use allocators with incorrect value types 2018-10-19 22:49:40 +01:00
2.cc Update copyright years. 2018-01-03 11:03:58 +01:00
3.cc Update copyright years. 2018-01-03 11:03:58 +01:00
65279.cc Update copyright years. 2018-01-03 11:03:58 +01:00
69114.cc Update copyright years. 2018-01-03 11:03:58 +01:00
69293_neg.cc re PR c++/87386 (Error message for static_assert show wrong range) 2018-11-21 23:41:07 +01:00
construct_pair.cc LWG 2975 ensure construct(pair<T,U>*, ...) used to construct pairs 2018-06-18 21:17:44 +01:00
outermost.cc Update copyright years. 2018-01-03 11:03:58 +01:00
propagation.cc Update copyright years. 2018-01-03 11:03:58 +01:00