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
libatomic: Handle AVX+CX16 ZHAOXIN like Intel for 16b atomic [PR104688]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
lambda-capture1.C
blob
ad86eff876b493b27c1780e787d703e341a43723
1
// PR c++/84726
2
// { dg-do compile { target c++11 } }
3
4
#define SA(X) static_assert (X, #X)
5
6
int main()
7
{
8
const int i = 42;
9
auto l = [=]{return i+i;};
10
SA(sizeof(l) == 1);
11
}