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