Commit f22723f9 by Jonathan Wakely Committed by Jonathan Wakely

PR c++/85464 - missing location for -Wignored-qualifiers diagnostic

	* g++.dg/diagnostic/pr85464.C: New.

From-SVN: r259501
parent 5e1e91c4
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
......
// { dg-options "-Wignored-qualifiers" }
struct Test {
operator int const(); // { dg-warning "type qualifiers ignored" }
operator int const() const; // { dg-warning "type qualifiers ignored" }
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment