Message ID | 548EBC97.6040008@oracle.com |
---|---|
State | New |
Headers | show |
2014-12-15 11:48 GMT+01:00 Paolo Carlini <paolo.carlini@oracle.com>: > ... committed as obvious the below. > > Paolo. > > ///////////////////// Thanks Kai
Index: g++.dg/cpp1y/pr63996.C =================================================================== --- g++.dg/cpp1y/pr63996.C (revision 218737) +++ g++.dg/cpp1y/pr63996.C (working copy) @@ -3,7 +3,7 @@ constexpr int foo (int i) { - int a[i] = { }; + int a[i] = { }; // { dg-error "forbids variable length" } } constexpr int j = foo (1); // { dg-error "is not a constant expression" }