TypeScript/tests/cases/fourslash/scriptLexicalStructureMissingName2.ts
Daniel Rosenwasser 0e9561194b Added tests.
2014-12-03 15:05:38 -08:00

12 lines
235 B
TypeScript

/////**
//// * This is a class.
//// */
////class /* But it has no name! */ {
//// foo() {
//// }
////}
// The class is unnamed, so its method is not included either.
verify.getScriptLexicalStructureListCount(0);