]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR c++/78334
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Feb 2017 23:19:46 +0000 (23:19 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Feb 2017 23:19:46 +0000 (23:19 +0000)
* g++.dg/cpp1z/nontype-auto7.C: New.

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

gcc/testsuite/g++.dg/cpp1z/nontype-auto7.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.dg/cpp1z/nontype-auto7.C b/gcc/testsuite/g++.dg/cpp1z/nontype-auto7.C
new file mode 100644 (file)
index 0000000..15656cf
--- /dev/null
@@ -0,0 +1,5 @@
+// PR c++/78334
+// { dg-options -std=c++1z }
+
+template <auto> auto constexpr_string([](auto) {});
+void foo() { constexpr_string<0>(0); };