mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
262 B
TypeScript
20 lines
262 B
TypeScript
//// [tests/cases/conformance/constEnums/constEnum4.ts] ////
|
|
|
|
//// [constEnum4.ts]
|
|
if (1)
|
|
const enum A { }
|
|
else if (2)
|
|
const enum B { }
|
|
else
|
|
const enum C { }
|
|
|
|
|
|
//// [constEnum4.js]
|
|
"use strict";
|
|
if (1)
|
|
;
|
|
else if (2)
|
|
;
|
|
else
|
|
;
|