From d33b87896500f9b85b134f2d391e5e9070c9925d Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Mon, 25 Nov 2019 16:34:58 +0100 Subject: [PATCH] fix #430 already working resolved with previous libdparse update --- tests/allman/issue0430.d.ref | 6 ++++++ tests/issue0430.d | 4 ++++ tests/otbs/issue0430.d.ref | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 tests/allman/issue0430.d.ref create mode 100644 tests/issue0430.d create mode 100644 tests/otbs/issue0430.d.ref diff --git a/tests/allman/issue0430.d.ref b/tests/allman/issue0430.d.ref new file mode 100644 index 0000000..ea6b044 --- /dev/null +++ b/tests/allman/issue0430.d.ref @@ -0,0 +1,6 @@ +void f(bool body) +{ + if (body) + { + } +} diff --git a/tests/issue0430.d b/tests/issue0430.d new file mode 100644 index 0000000..f8acf72 --- /dev/null +++ b/tests/issue0430.d @@ -0,0 +1,4 @@ +void f(bool body) { + if (body) { + } +} \ No newline at end of file diff --git a/tests/otbs/issue0430.d.ref b/tests/otbs/issue0430.d.ref new file mode 100644 index 0000000..ce11f55 --- /dev/null +++ b/tests/otbs/issue0430.d.ref @@ -0,0 +1,4 @@ +void f(bool body) { + if (body) { + } +}