blob: 7eaf6aa92a369e10f74296a8917225aa7c77f83e [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 interface I.
// Native impl has same name as interface.
@native("*I")
class Impl implements I {
@native Impl read();
@native write(Impl x);
}