]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2015-07-10 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 2015 14:44:43 +0000 (14:44 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Jul 2015 14:44:43 +0000 (14:44 +0000)
PR c++/60842
* g++.dg/cpp0x/nsdmi-template15.C: New.

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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nsdmi-template15.C [new file with mode: 0644]

index cc7988b12dffeb6d4f229ecb6aacb2f3784d0df6..c21e3d83f963a74e660ca49f2ff48bb1461cdaf3 100644 (file)
@@ -1,3 +1,8 @@
+2015-07-10  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/60842
+       * g++.dg/cpp0x/nsdmi-template15.C: New.
+
 2015-07-10  Jiong Wang  <jiong.wang@arm.com>
 
        * gcc.target/aarch64/got_mem_hoist_1.c: New test.
diff --git a/gcc/testsuite/g++.dg/cpp0x/nsdmi-template15.C b/gcc/testsuite/g++.dg/cpp0x/nsdmi-template15.C
new file mode 100644 (file)
index 0000000..e3454f0
--- /dev/null
@@ -0,0 +1,13 @@
+// PR c++/60842
+// { dg-do compile { target c++11 } }
+
+namespace N {
+    class I {};
+}
+
+template <typename, typename>
+class J {};
+
+class S {
+    J<int, N::I> j = J<int, N::I>{};
+};