mirrored from git://gcc.gnu.org/git/gcc.git
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
redi
committed
Apr 19, 2018
1 parent
a97c3d5
commit 47b6cf6
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" } | ||
}; |