george.burgess.iv added inline comments. ================ Comment at: test/SemaCXX/constant-expression-cxx1y.cpp:182 @@ -181,4 +181,3 @@ - // FIXME: We should be able to reject this before it's called - constexpr void f() { + constexpr void f() { // expected-error{{constexpr function never produces a constant expression}} expected-note@+2{{assignment to dereferenced one-past-the-end pointer is not allowed in a constant expression}} char foo[10] = { "z" }; // expected-note {{here}} ---------------- Aside: This test was fixed because we no longer give up on trying to look up `foo`, because we know an unmodeled side-effect hasn't happened.
http://reviews.llvm.org/D18540 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits