diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-01-02 12:35:02 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-01-02 12:35:02 +0000 |
commit | 5344af273ac3d881fb480adc927c9ff64de959e7 (patch) | |
tree | da9255fc26adbab24bac2542c13b62bb9e03e86f | |
parent | e8e3054e505a153e52aa3d8888bfc91610c006f7 (diff) | |
download | gcc-5344af273ac3d881fb480adc927c9ff64de959e7.zip gcc-5344af273ac3d881fb480adc927c9ff64de959e7.tar.gz gcc-5344af273ac3d881fb480adc927c9ff64de959e7.tar.bz2 |
add comment about why valid
From-SVN: r256071
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C index 8200f87..8cfd405 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; }(); } |