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
/
test14740.d
blob
29c34591b23c5a360ff1cec2f003285c30b1526d
1
// https://issues.dlang.org/show_bug.cgi?id=14740
2
3
void
test
()
4
{
5
struct
S
6
{
7
void
fun
() {}
8
}
9
static assert
([
__traits
(
allMembers
,
S
)] == [
"fun"
]);
10
}