langtools/test/tools/javac/NonStaticFieldExpr3.out
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 10 06bc494ca11e
child 863 3113c955a388
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
NonStaticFieldExpr3.java:14: non-static variable x cannot be referenced from a static context
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
  int a = NonStaticFieldExpr3.x;      // SHOULD BE ERROR
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
                             ^
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
1 error