Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-static4.C
blob: fa1a4c746d89231097dd0326efd073e7c5443885 [
file
] [
log
] [
blame
]
// { dg-do run { target c++11 } }
extern
"C"
void
abort
();
extern
int
ar
[
2
];
int
f
()
{
if
(
ar
[
0
]
!=
42
||
ar
[
1
]
!=
0
)
abort
();
return
1
;
}
int
i
=
f
();
int
ar
[
2
]
=
{
42
,
i
};
int
main
()
{
}