Fix bug in libdparse that caused symbols to leak out of conditional declarations
This commit is contained in:
parent
5360944dfb
commit
c6da941a82
|
@ -1 +1 @@
|
||||||
Subproject commit 2ee91136abf935546de6bf581fd215b86d70e14e
|
Subproject commit 7d519dfdba1089ecefbc947b550e4fe82049f883
|
|
@ -0,0 +1,17 @@
|
||||||
|
struct Bob
|
||||||
|
{
|
||||||
|
version (all)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
@disable this();
|
||||||
|
}
|
||||||
|
|
||||||
|
int abcde;
|
||||||
|
}
|
||||||
|
|
||||||
|
unittest
|
||||||
|
{
|
||||||
|
ab
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
../../bin/dcd-client $1 file.d -c122 > actual1.txt
|
||||||
|
diff actual1.txt expected1.txt
|
Loading…
Reference in New Issue