dart-sdk/tests/language/tearoff_basic_lib.dart

17 lines
379 B
Dart

// Copyright (c) 2015, 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.
library tearoff_basic_lib;
cfunc() => "cfunc";
set cset(a) { cvar = a; }
get cget => "cget";
var cvar = 1+2+3;
final cfinvar = "set in stone";
class ZZ { }