blob: 83e92d4dc4469318d2e8d0efe3ab74ae76e8af95 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
void main() {}
class SomeClass {
int i;
SomeClass(this.i);
}
void giveObjectToNative(Object someObject) native 'GiveObjectToNative';
void signalDone() native 'SignalDone';
@pragma('vm:entry-point')
void callGiveObjectToNative() {
giveObjectToNative(SomeClass(123));
}
@pragma('vm:entry-point')
void testClearLater() {
giveObjectToNative(SomeClass(123));
signalDone();
}