summaryrefslogtreecommitdiffstats
path: root/tests/new/PR558.java
blob: 25df054064e2c87113c3fafc54798c48c6543bd1 (plain)
1
2
3
4
5
6
7
/** @testcase PR#558 class name for identifier as String should provoke error */
public class PR558 {
  public static void main( String args[] ) {
      new StringBuffer().append(PR558); // expecting compiler error that PR558 is a bad symbol
  }
}