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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
stmtexpr20.C
blob
33355e3b990d1f1b80243805332e366546adbab4
1
// PR c++/83921
2
// { dg-options "" }
3
// { dg-do compile { target c++11 } }
4
5
struct test { const int *addr; };
6
7
const test* setup()
8
{
9
static constexpr test atest =
10
{ ({ int inner = 1; (const int*)(0); }) };
11
12
return &atest;
13
}