TypeScript/tests/baselines/reference/constEnum4.js
Wesley Wigham 3765651d82
Fix not emitted statement in then clauses producing syntactically invalid output (#32010)
* Fix not emitted statement in then clauses producing syntactically invalid output

* Refactor to common code, apply to all embedded statements
2019-07-01 13:39:18 -07:00

16 lines
183 B
TypeScript

//// [constEnum4.ts]
if (1)
const enum A { }
else if (2)
const enum B { }
else
const enum C { }
//// [constEnum4.js]
if (1)
;
else if (2)
;
else
;