Message ID | 1394746734-12408-1-git-send-email-patrick@parcs.ath.cx |
---|---|
State | New |
Headers | show |
Applied, thanks. Jason
On Fri, Mar 14, 2014 at 11:20 AM, Jason Merrill <jason@redhat.com> wrote:
> Applied, thanks.
Thanks! The commit seems to be missing the corresponding ChangeLog
entry though.
On Sun, 23 Mar 2014, Patrick Palka wrote: > On Fri, Mar 14, 2014 at 11:20 AM, Jason Merrill <jason@redhat.com> wrote: >> Applied, thanks. > > Thanks! The commit seems to be missing the corresponding ChangeLog > entry though. ChangeLog is kind of optional in the testsuite. Please keep providing entries, but don't be surprised when some go missing.
diff --git a/gcc/testsuite/g++.dg/warn/anonymous-namespace-6.C b/gcc/testsuite/g++.dg/warn/anonymous-namespace-6.C new file mode 100644 index 0000000..d238df3 --- /dev/null +++ b/gcc/testsuite/g++.dg/warn/anonymous-namespace-6.C @@ -0,0 +1,8 @@ +// PR c++/53711 +// { dg-options -Wall } + +namespace { + void f () // { dg-warning "not used" } + { + } +}