mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
resurrect empty statement (#15409)
This commit is contained in:
parent
90f5bd1635
commit
b6a970643d
3 changed files with 20 additions and 23 deletions
19
compiler/test/compilable/emptystatement.d
Normal file
19
compiler/test/compilable/emptystatement.d
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
REQUIRED_ARGS:
|
||||
TEST_OUTPUT:
|
||||
---
|
||||
---
|
||||
*/
|
||||
|
||||
void foo()
|
||||
{
|
||||
int x;;
|
||||
enum A
|
||||
{
|
||||
a,
|
||||
b,
|
||||
c
|
||||
};
|
||||
|
||||
void bar() {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue