Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail285.d
blob: 82370143bf9566babdbeb6bf3481662b122cc3fe [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail285.d(19): Error: with symbol `fail285.S.x` is shadowing local symbol `fail285.main.x`
---
*/
struct
S
{
int
x
;
}
void
main
()
{
int
x
;
S s
;
with
(
s
)
{
x
++;
}
}