Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail179.d
blob: 0c9c2489ab45f711944616a1dba684a368f81537 [
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
;
}