| Index: tests/compiler/dart2js_native/native_exceptions1_frog_test.dart
|
| diff --git a/tests/compiler/dart2js_native/native_exceptions1_frog_test.dart b/tests/compiler/dart2js_native/native_exceptions1_frog_test.dart
|
| index aa3c3d66e882f1b6f4bb43a64be35a060cf47bdb..222894f667785545f119845e754245f5bd8e0a24 100644
|
| --- a/tests/compiler/dart2js_native/native_exceptions1_frog_test.dart
|
| +++ b/tests/compiler/dart2js_native/native_exceptions1_frog_test.dart
|
| @@ -28,10 +28,10 @@ class E {
|
| // Type with exception-throwing methods.
|
| @Native("A")
|
| class A {
|
| - op(int x) native {
|
| - // Fake body calls constructor to mark the exception class (E) as used.
|
| - throw new E._used();
|
| - }
|
| + // Exception class E is created.
|
| + @Creates("E")
|
| + @Returns('int')
|
| + op(int x) native;
|
| }
|
|
|
| // This class is here just so that a dynamic context is polymorphic.
|
|
|