projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e3054
)
add comment about why valid
author
Nathan Sidwell
<nathan@gcc.gnu.org>
Tue, 2 Jan 2018 12:35:02 +0000
(12:35 +0000)
committer
Nathan Sidwell
<nathan@gcc.gnu.org>
Tue, 2 Jan 2018 12:35:02 +0000
(12:35 +0000)
From-SVN: r256071
gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C
b/gcc/testsuite/g++.dg/cpp0x/constexpr-64462.C
index 8200f871057c978e48e90df4ab584e14100d484c..8cfd405f73bdd8b55c3a05e205ebf86cc71f3bfd 100644
(file)
--- 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; }();
}