Commit 54ce7789 by Jason Merrill

re PR c++/53711 (Wunused-function should warn for functions in the unnamed namespace)

	PR c++/53711
	* d++.dg/warn/anonymous-namespace-6.C: New test.

From-SVN: r208569
parent 25e57622
// PR c++/53711
// { dg-options -Wall }
namespace {
void f () // { dg-warning "not used" }
{
}
}
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