From 5344af273ac3d881fb480adc927c9ff64de959e7 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 2 Jan 2018 12:35:02 +0000 Subject: [PATCH] add comment about why valid From-SVN: r256071 --- gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C | 1 + 1 file changed, 1 insertion(+) 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; }(); } -- 2.30.2