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