constexpr-delegating2.C: Add missing piece.
authorPaolo Carlini <paolo@gcc.gnu.org>
Sun, 1 Jan 2012 20:02:02 +0000 (20:02 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 1 Jan 2012 20:02:02 +0000 (20:02 +0000)
2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/constexpr-delegating2.C: Add missing piece.

From-SVN: r182774

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-delegating2.C

index 617ef117cc8f027283bc8e6b706706ab09279a2f..b4c78d14928ee4d73a8ef30e607474b29b9f2030 100644 (file)
@@ -1,4 +1,8 @@
-2011-12-31  Fabien ChĂȘne  <fabien@gcc.gnu.org>
+2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * g++.dg/cpp0x/constexpr-delegating2.C: Add missing piece.
+
+2012-01-01  Fabien ChĂȘne  <fabien@gcc.gnu.org>
 
        * g++.old-deja/g++.brendan/crash25.C: Adjust.
        * g++.old-deja/g++.brendan/crash56.C: Likewise.
index 51e2387136aaec63cb1fff4f7a5c6aa768a4cabc..c85ed2e8191751264846236711856b38cbe51568 100644 (file)
@@ -23,3 +23,6 @@ struct B
   : B(A<V...>::a)
   { }
 };
+
+constexpr B b1 = A<10, 20, 30>::a;
+constexpr B b2 = A<10, 20, 30>();