05f3b12960
Change-Id: Iea9d8d27e6fdefa6f47471a459cdb4363aab65e1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98011 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
24 lines
518 B
Dart
24 lines
518 B
Dart
// Copyright (c) 2017, 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.
|
|
|
|
@JS()
|
|
library lib;
|
|
|
|
import 'package:js/js.dart';
|
|
|
|
/*element: main:[]*/
|
|
main() {
|
|
externalFunction();
|
|
}
|
|
|
|
/*element: externalFunction:[]*/
|
|
@pragma('dart2js:noInline')
|
|
externalFunction() {
|
|
_externalFunction();
|
|
}
|
|
|
|
/*element: _externalFunction:[]*/
|
|
@JS('externalFunction')
|
|
external _externalFunction();
|