Skip to content

Commit 47b6cf6

Browse files
author
redi
committed
PR c++/85464 - missing location for -Wignored-qualifiers diagnostic
* g++.dg/diagnostic/pr85464.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259501 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent a97c3d5 commit 47b6cf6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

gcc/testsuite/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2018-04-19 Jonathan Wakely <[email protected]>
2+
3+
PR c++/85464 - missing location for -Wignored-qualifiers diagnostic
4+
* g++.dg/diagnostic/pr85464.C: New.
5+
16
2018-04-19 H.J. Lu <[email protected]>
27

38
PR target/85397
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// { dg-options "-Wignored-qualifiers" }
2+
struct Test {
3+
operator int const(); // { dg-warning "type qualifiers ignored" }
4+
operator int const() const; // { dg-warning "type qualifiers ignored" }
5+
};

0 commit comments

Comments
 (0)