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
PR c++/82069 - ICE with lambda in template
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr80222.C
blob
ed1b37f5e374f01414496c99ce595fb417403462
1
// { dg-do compile }
2
// { dg-options "-O2 -fdump-tree-optimized" } */
3
4
struct C { int i; }__attribute__((may_alias)) ;
5
6
C a, b;
7
8
int main()
9
{
10
a = static_cast <C&> (b);
11
}
12
13
// { dg-final { scan-tree-dump "{ref-all}\\\)&b\];" "optimized" } } */