forked from dlang-community/dfmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes dlang-community#451.
- Loading branch information
Showing
4 changed files
with
131 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
class C | ||
{ | ||
abstract void f1() // | ||
in (true); | ||
|
||
abstract void f2() /* */ | ||
in (true); | ||
|
||
abstract bool f3() // | ||
out (r; r); | ||
|
||
abstract bool f4() /* */ | ||
out (r; r); | ||
|
||
abstract void f5() // | ||
do | ||
{ | ||
} | ||
|
||
abstract void f6() /* */ | ||
do | ||
{ | ||
} | ||
|
||
abstract bool f7() // | ||
in (true) // | ||
out (r; r) // | ||
do // | ||
{ | ||
return true; | ||
} | ||
|
||
abstract bool f8() /* */ | ||
in (true) /* */ | ||
out (r; r) /* */ | ||
do /* */ | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
class C | ||
{ | ||
abstract void f1() // | ||
in (true); | ||
|
||
abstract void f2() /* */ | ||
in (true); | ||
|
||
abstract bool f3() // | ||
out (r; r); | ||
|
||
abstract bool f4() /* */ | ||
out (r; r); | ||
|
||
abstract void f5() // | ||
do | ||
{ | ||
} | ||
|
||
abstract void f6() /* */ | ||
do | ||
{ | ||
} | ||
|
||
abstract bool f7() // | ||
in (true) // | ||
out (r; r) // | ||
do // | ||
{ | ||
return true; | ||
} | ||
|
||
abstract bool f8() /* */ | ||
in (true) /* */ | ||
out (r; r) /* */ | ||
do /* */ | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
class C { | ||
abstract void f1() // | ||
in (true); | ||
|
||
abstract void f2() /* */ | ||
in (true); | ||
|
||
abstract bool f3() // | ||
out (r; r); | ||
|
||
abstract bool f4() /* */ | ||
out (r; r); | ||
|
||
abstract void f5() // | ||
do { | ||
} | ||
|
||
abstract void f6() /* */ | ||
do { | ||
} | ||
|
||
abstract bool f7() // | ||
in (true) // | ||
out (r; r) // | ||
do // | ||
{ | ||
return true; | ||
} | ||
|
||
abstract bool f8() /* */ | ||
in (true) /* */ | ||
out (r; r) /* */ | ||
do /* */ { | ||
return true; | ||
} | ||
} |