repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail7077.d
blob
8a3af6f9e691db1dd71bdb1f7edae61f69f201da
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail7077.d(11): Error: undefined identifier `x`
5
---
6
*/
7
8
void
main
()
9
{
10
if
(
0
)
mixin
(
"auto x = 2;"
);
11
assert
(
x
==
2
);
12
}