From: Nathan Sidwell Date: Tue, 2 Jan 2018 12:35:02 +0000 (+0000) Subject: add comment about why valid X-Git-Tag: basepoints/gcc-9~2373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5344af273ac3d881fb480adc927c9ff64de959e7;p=thirdparty%2Fgcc.git add comment about why valid From-SVN: r256071 --- diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C index 8200f871057c..8cfd405f73bd 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C @@ -6,5 +6,6 @@ int z; int main() { constexpr int& y = x; + // OK, 'y' is not ODR used [] { z = y; }(); }