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 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
debuginfo.d
blob
320019515c5ece66a856b5a566f746636fdc6b1f
1
// REQUIRED_ARGS: -g
2
3
struct
Bug7127a
{
4
const
(
Bug7127a
)*
self
;
5
}
6
7
struct
Bug7127b
{
8
void function
(
const
(
Bug7127b
)
self
)
foo
;
9
}
10
11
void
main
() {
12
Bug7127a a
;
13
Bug7127b b
;
14
}
15
16
// https://issues.dlang.org/show_bug.cgi?id=13975
17
static immutable int
a
=
8
;
18
enum
Bar
{
aa
=
a
}
19
20
void
foo
(
Bar bar
) {}