added test for #717
This commit is contained in:
parent
dc1305364c
commit
33fd0db07d
|
@ -0,0 +1,8 @@
|
|||
identifiers
|
||||
alignof k
|
||||
init k
|
||||
mangleof k
|
||||
max k
|
||||
min k
|
||||
sizeof k
|
||||
stringof k
|
|
@ -0,0 +1,15 @@
|
|||
struct A
|
||||
{
|
||||
B b;
|
||||
|
||||
void test()
|
||||
{
|
||||
auto here = b.inside_b;
|
||||
here.
|
||||
}
|
||||
}
|
||||
|
||||
struct B
|
||||
{
|
||||
int inside_b;
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
../../bin/dcd-client $1 file.d --extended -c88 > actual.txt
|
||||
diff actual.txt expected.txt --strip-trailing-cr
|
Loading…
Reference in New Issue