| | | | --- | --- | | Bugzilla Link | [11851](https://llvm.org/bz11851) | | Resolution | FIXED | | Resolved on | Nov 06, 2012 19:15 | | Version | unspecified | | OS | All | | CC | @jckarter,@DougGregor,@zygoloid | ## Extended Description Testcase: template<int x> constexpr int f() { return x; } template<int i> void ovf(int (&x)[f<i>()]); void f() { int x[10]; ovf<10>(x); } As far as I can tell, this is valid C++11.