blob: 36e615f882d58dbc4f2ebf559d4c444ef35d189e [file] [log] [blame]
Mads Ager418d1ca2017-05-22 09:35:49 +02001// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4package shaking13;
5
6import shakinglib.LibraryClass;
7
8public class Shaking {
9
10 private static void fieldTest() {
11 AClassWithFields instance = new AClassWithFields();
12 instance.intField = 1;
13 AClassWithFields.staticIntField = 2;
14
15 LibraryClass.staticIntField = 3;
16 LibraryClass libraryInstance = new LibraryClass();
17 libraryInstance.intField = 4;
18 }
19
20 public static void main(String[] args) {
21 fieldTest();
22 }
23}