f85480b4dd
Change-Id: Ib7af386876d831e84ca97c42bbe3084c96fcc114 Reviewed-on: https://dart-review.googlesource.com/49906 Commit-Queue: Samir Jindel <sjindel@google.com> Reviewed-by: Peter von der Ahé <ahe@google.com>
21 lines
450 B
Dart
21 lines
450 B
Dart
// Copyright (c) 2018, 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.
|
|
|
|
int globalVar = 100;
|
|
|
|
class MyClass {
|
|
static int staticVar = 1000;
|
|
|
|
static void method(int value) {}
|
|
}
|
|
|
|
void testFunction() {
|
|
int i = 0;
|
|
while (true) {
|
|
if (++i % 100000000 == 0) {
|
|
MyClass.method(10000);
|
|
}
|
|
}
|
|
}
|