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
This commit is contained in:
parent
25e57622a5
commit
54ce77893d
|
@ -0,0 +1,8 @@
|
|||
// PR c++/53711
|
||||
// { dg-options -Wall }
|
||||
|
||||
namespace {
|
||||
void f () // { dg-warning "not used" }
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue