PR c++/63306
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Oct 2014 20:42:23 +0000 (20:42 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Oct 2014 20:42:23 +0000 (20:42 +0000)
* g++.dg/ipa/pr63306.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215779 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr63306.C [new file with mode: 0644]

index 213d276..8f02f56 100644 (file)
@@ -1,5 +1,8 @@
 2014-10-01  Jakub Jelinek  <jakub@redhat.com>
 
+       PR c++/63306
+       * g++.dg/ipa/pr63306.C: New test.
+
        PR target/63428
        * gcc.dg/torture/vshuf-4.inc: Move test 122 from EXPTESTS
        to test 24 in TESTS.
diff --git a/gcc/testsuite/g++.dg/ipa/pr63306.C b/gcc/testsuite/g++.dg/ipa/pr63306.C
new file mode 100644 (file)
index 0000000..e22a4c2
--- /dev/null
@@ -0,0 +1,14 @@
+// PR c++/63306
+// { dg-do compile { target c++11 } }
+
+template <typename...>
+class A;
+
+class B
+{
+  B (const int &, const A<int, int> &);
+};
+
+B::B (const int &, const A<int, int> &)
+{
+}