| Index: dart/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_missing_method2_test.dart b/dart/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| index 6e5860aef052c14aa150e97768668f4caa8edcd2..bc3d3049bb1bc9417dda23a9993ff4f4b8616ff8 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_missing_method2_test.dart
|
| @@ -2,16 +2,18 @@
|
| // 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.
|
|
|
| -class A native "*A" {
|
| +@native("*A")
|
| +class A {
|
| }
|
|
|
| -makeA() native;
|
| +@native makeA();
|
|
|
| -void setup() native """
|
| +@native("""
|
| function A() {};
|
| A.prototype.foo = function() { return 42; }
|
| makeA = function() { return new A; }
|
| -""";
|
| +""")
|
| +void setup();
|
|
|
| class B {
|
| foo() { return 42; }
|
|
|