blob: 431cffc5dfa66c3b941c0aed764232836df71cbe [file] [log] [blame]
// Copyright (c) 2011, 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.
// Native implementation.
library lib2;
import 'native_library_same_name_used_lib1.dart'; // To get abstract class I.
import 'native_metadata.dart';
// Native impl has same name as abstract class.
@Native("*I")
class Impl implements I {
@native Impl read();
@native write(Impl x);
}