769853512d
When dynamic modules are enabled vtables should only include the dynamic call entry point. Change-Id: Ifdf935a00039fe478c290d4bef585659cfdb9661 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/427860 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>
13 lines
433 B
Dart
13 lines
433 B
Dart
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import '../../common/testing.dart' as helper;
|
|
import 'package:expect/expect.dart';
|
|
|
|
void main() async {
|
|
final f = await helper.load('entry1.dart') as int Function(int);
|
|
Expect.equals(3, f(3));
|
|
helper.done();
|
|
}
|