public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add PR c++/11814 test case to testsuite
@ 2016-02-12  4:20 Patrick Palka
  2016-02-18 18:38 ` Patrick Palka
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Palka @ 2016-02-12  4:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: jason, Patrick Palka

Hi Jason,

Your recent fix for PR c++/10200 seems to have fixed this longstanding
PR too.  Should I add its test case to the testsuite and close the PR?

gcc/testsuite/ChangeLog:

	PR c++/11814
	* g++.dg/lookup/template4.C: New test.
---
 gcc/testsuite/g++.dg/lookup/template4.C | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 gcc/testsuite/g++.dg/lookup/template4.C

diff --git a/gcc/testsuite/g++.dg/lookup/template4.C b/gcc/testsuite/g++.dg/lookup/template4.C
new file mode 100644
index 0000000..53030d6
--- /dev/null
+++ b/gcc/testsuite/g++.dg/lookup/template4.C
@@ -0,0 +1,16 @@
+// PR c++/11814
+
+template <typename> struct A
+{
+    template <typename> void foo();
+};
+
+template <typename T> struct B
+{
+    template <typename> void foo()
+    {
+        A<T>* p;
+        p->foo<int>();  // { dg-error "" }
+    }
+};
+
-- 
2.7.1.257.g925a48d

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add PR c++/11814 test case to testsuite
  2016-02-12  4:20 [PATCH] Add PR c++/11814 test case to testsuite Patrick Palka
@ 2016-02-18 18:38 ` Patrick Palka
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Palka @ 2016-02-18 18:38 UTC (permalink / raw)
  To: GCC Patches; +Cc: Jason Merrill, Patrick Palka

On Thu, Feb 11, 2016 at 11:20 PM, Patrick Palka <patrick@parcs.ath.cx> wrote:
> Hi Jason,
>
> Your recent fix for PR c++/10200 seems to have fixed this longstanding
> PR too.  Should I add its test case to the testsuite and close the PR?

Never mind, this PR is no longer resolved following the most recent
changes to c++/10200.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-18 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-12  4:20 [PATCH] Add PR c++/11814 test case to testsuite Patrick Palka
2016-02-18 18:38 ` Patrick Palka

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).