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
/
fail22780.d
blob
8d4c8a891f0c6c9537e0dd0c35908e36eade8b46
1
// https://issues.dlang.org/show_bug.cgi?id=22780
2
/* TEST_OUTPUT:
3
---
4
fail_compilation/fail22780.d(12): Error: variable `fail22780.test10717.c` reference to `scope class` must be `scope`
5
---
6
*/
7
8
scope class
C10717
{ }
9
10
void
test10717
()
11
{
12
C10717 c
;
13
}