public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fixup testcase g++.dg/cpp0x/pr31437.C
@ 2012-06-05  2:46 Mike Stump
  0 siblings, 0 replies; only message in thread
From: Mike Stump @ 2012-06-05  2:46 UTC (permalink / raw)
  To: GCC Patches

In fixing a testsuite driver issue, I discovered that some test cases don't match the actual output of the compiler.  I'll check in the obvious fixes, I believe the below is one such obvious fix.  If people want to argue the compiler should instead be changed to match the testcase, let me know.

This is the first of 45 changes...

Index: testsuite/g++.dg/cpp0x/pr31437.C
===================================================================
--- testsuite/g++.dg/cpp0x/pr31437.C	(revision 188225)
+++ testsuite/g++.dg/cpp0x/pr31437.C	(working copy)
@@ -1,5 +1,5 @@
 // { dg-options "-std=gnu++0x" }
-template <typename... T> struct A // { dg-error "candidates|A" }
+template <typename... T> struct A // { dg-message "candidates|A" }
 {
   A(T* p) {  // { dg-error "parameter packs|T" }
    (A<T...>*)(p); 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-05  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-05  2:46 Fixup testcase g++.dg/cpp0x/pr31437.C Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).