1 // Default class constructors should no longer be marked as self-hosted
2 // functions. They should be munged to appear in every respect as if they
3 // originated with the class definition.
5 load(libdir + 'asserts.js');
11 // Since default constructors are strict mode code, this should get:
12 // TypeError: access to strict mode caller function is censored
13 assertThrowsInstanceOf(() => new class extends f {}, TypeError);