745f112ef6
Opt an initial batch of files under samples, samples-dev, utils, and runtime/tools/dartfuzz out of null safety in preparation for switching the flag on by default. Change-Id: Icdfd52a5a969e678a7205903332f73fe3841c223 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166960 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Leaf Petersen <leafp@google.com>
31 lines
1.0 KiB
Dart
31 lines
1.0 KiB
Dart
// Copyright (c) 2019, 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.
|
|
//
|
|
// This file exercises the sample files so that they are tested.
|
|
//
|
|
// SharedObjects=ffi_test_dynamic_library ffi_test_functions
|
|
|
|
// @dart = 2.9
|
|
|
|
import 'sample_ffi_bitfield.dart' as bitfield;
|
|
import 'sample_ffi_data.dart' as data;
|
|
import 'sample_ffi_dynamic_library.dart' as dynamic_library;
|
|
import 'sample_ffi_functions_callbacks_closures.dart'
|
|
as functions_callbacks_closures;
|
|
import 'sample_ffi_functions_callbacks.dart' as functions_callbacks;
|
|
import 'sample_ffi_functions_structs.dart' as functions_structs;
|
|
import 'sample_ffi_functions.dart' as functions;
|
|
import 'sample_ffi_structs.dart' as structs;
|
|
|
|
main() {
|
|
bitfield.main();
|
|
data.main();
|
|
dynamic_library.main();
|
|
functions_callbacks_closures.main();
|
|
functions_callbacks.main();
|
|
functions_structs.main();
|
|
functions.main();
|
|
structs.main();
|
|
}
|