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
/
diag15001.d
blob
3763d795735788bbc07cc175f7570bacd2cbb49c
1
// REQUIRED_ARGS: -o-
2
/*
3
TEST_OUTPUT:
4
---
5
fail_compilation/diag15001.d(11): Error: undefined identifier `X`
6
---
7
*/
8
9
void
main
()
10
{
11
if
(
X x
=
1
)
12
{
13
}
14
}