From: Nathan Sidwell Date: Tue, 2 Jan 2018 12:35:02 +0000 (+0000) Subject: add comment about why valid X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5344af273ac3d881fb480adc927c9ff64de959e7;p=gcc.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 8200f871057..8cfd405f73b 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; }(); }