You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnterminatedDeclareErrorCE.java 276B

1234567891011
  1. /** @testcase expect CE for unterminated declare error */
  2. aspect UnterminatedDeclareErrorCE {
  3. declare error : execution(void run()) : "error"
  4. }// CE 5
  5. class C {
  6. // bug - get CE here if uncommented, but declare error unterminated
  7. // public void run() { }
  8. }