Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
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
;
}