blob: 1a882e2c12a03e96e404d637f3339ec28dd37cce [file] [log] [blame]
import cls from "./export-default-function-name-in-class-declaration.js"
import { shouldBe } from "./resources/assert.js";
export default class { }
// https://tc39.github.io/ecma262/#sec-exports-runtime-semantics-evaluation
shouldBe(cls.name, 'default');
shouldBe(cls.toString(), `class { }`);