| Index: dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| diff --git a/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart b/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| index fc6d8a0b79412f62ee7aacbfcb879545ad61dd7b..cb02e5b4d59aece553e59f45a580d5c64ddfb3b9 100644
|
| --- a/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| +++ b/dart/tests/compiler/dart2js_foreign/native_literal_class_test.dart
|
| @@ -2,13 +2,15 @@
|
| // 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 "= {log: function() { return 42 } }" {
|
| - void log() native;
|
| +@native("= {log: function() { return 42 } }")
|
| +class A {
|
| + @native void log();
|
| }
|
|
|
| -getA() native """
|
| +@native("""
|
| return A;
|
| -""";
|
| +""")
|
| +getA();
|
|
|
| bar() {
|
| new A();
|
|
|