Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail179.d
blob: bd0e15572468d62cd174ed143d636b408999013f [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail179.d(11): Error: variable fail179.main.px cannot be final, perhaps you meant const?
---
*/
void
main
()
{
int
x
=
3
;
final
px
=
&
x
;
*
px
=
4
;
auto
ppx
=
&
px
;
**
ppx
=
5
;
}