// @ts-nocheck
class C<T> extends Math.pow(a, b) implements Foo<T> {}
(class A extends Math.pow(a, b) implements Foo {})
(class A<T> extends (Math.pow(a, b)) {})
class C<T> extends (Math.pow(a, b)) implements Foo, Bar<T> {}
