| // RUN: llvm-tblgen %s | FileCheck %s |
| // RUN: not llvm-tblgen -DERROR1 %s 2>&1 | FileCheck --check-prefix=ERROR1 %s |
| // This file tests the error message that is printed when a body is |
| // terminated with a semicolon in addition to the close brace. |
| // ERROR1: error: A class or def body should not end with a semicolon |
| // ERROR1: Semicolon ignored |
| // ERROR1: error: A class or def body should not end with a semicolon |
| // ERROR1: Semicolon ignored |
| // ERROR1: error: A multiclass body should not end with a semicolon |
| // ERROR1: Semicolon ignored |