078d407f40
This adds a new expectation test suite which mimics the modular compilation strategy used by dartdevc; the test code is fully compiled but the linked dependencies are only compiled as outlines. Change-Id: I4b8a68087997c025eb39aec414ee1706ddf7f847 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/222762 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
12 lines
615 B
Plaintext
12 lines
615 B
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method _mergeSort<T extends core::Object* = dynamic>((self::_mergeSort::T*) →* self::_mergeSort::T* list, (self::_mergeSort::T*, self::_mergeSort::T*) →* core::int* compare, (self::_mergeSort::T*) →* self::_mergeSort::T* target) → void {
|
|
self::_mergeSort<self::_mergeSort::T*>(list, compare, target);
|
|
self::_mergeSort<self::_mergeSort::T*>(list, compare, list);
|
|
self::_mergeSort<self::_mergeSort::T*>(target, compare, target);
|
|
self::_mergeSort<self::_mergeSort::T*>(target, compare, list);
|
|
}
|
|
static method main() → dynamic {}
|