repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-64462.C
blob
69193fd0db7dc3d0187c4be2c7f1c83611353206
1
// PR c++/64462
2
// { dg-do compile { target c++11 } }
3
4
int x = 0;
5
int z;
6
7
int main() {
8
constexpr int& y = x;
9
[=] { z = y; }();
10
}