decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages about…
decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages about bit-fields with function type... /cp 2018-12-07 Paolo Carlini <paolo.carlini@oracle.com> * decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages about bit-fields with function type, warn_if_not_aligned type, and static bit-fields; avoid DECL_NAME for unnamed declarations. /testsuite 2018-12-07 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/other/bitfield7.C: New. * g++.dg/parse/bitfield8.C: Likewise. * g++.dg/parse/bitfield9.C: Likewise. * g++.dg/pr53037-4.C: Test the locations too. From-SVN: r266900
Showing
gcc/testsuite/g++.dg/other/bitfield7.C
0 → 100644
gcc/testsuite/g++.dg/parse/bitfield8.C
0 → 100644
gcc/testsuite/g++.dg/parse/bitfield9.C
0 → 100644
Please
register
or
sign in
to comment