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
chrono
deque
filesystem
forward_list
functional PR libstdc++/87538 Verify fix for std::experimental::not_fn 2018-10-08 13:17:58 +01:00
iterator
list
map
memory
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
optional
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
set
source_location Add missing dg-require-cstdint directives to tests 2018-07-26 15:03:28 +01:00
string
string_view 10.cc: Add dg-require-fileio. 2018-08-31 15:09:47 -04:00
system_error
tuple
type_erased_allocator
type_traits
unordered_map
unordered_set
vector
feat-cxx14.cc
feat-lib-fund.cc