Skip to content

Commit

Permalink
PR c++/85464 - missing location for -Wignored-qualifiers diagnostic
Browse files Browse the repository at this point in the history
	* g++.dg/diagnostic/pr85464.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259501 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
redi committed Apr 19, 2018
1 parent a97c3d5 commit 47b6cf6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2018-04-19 Jonathan Wakely <jwakely@redhat.com>

PR c++/85464 - missing location for -Wignored-qualifiers diagnostic
* g++.dg/diagnostic/pr85464.C: New.

2018-04-19 H.J. Lu <hongjiu.lu@intel.com>

PR target/85397
Expand Down
5 changes: 5 additions & 0 deletions gcc/testsuite/g++.dg/diagnostic/pr85464.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// { dg-options "-Wignored-qualifiers" }
struct Test {
operator int const(); // { dg-warning "type qualifiers ignored" }
operator int const() const; // { dg-warning "type qualifiers ignored" }
};

0 comments on commit 47b6cf6

Please sign in to comment.