1 // RUN: not llvm-tblgen -DDIAG1 -I %p %s 2>&1 | FileCheck --check-prefixes=DIAG1 %s
2 // RUN: not llvm-tblgen -I %p %s 2>&1 | FileCheck --check-prefixes=DIAG2 %s
5 // DIAG1: error: Only comments are supported after #endif
7 // Invalid #else below should be detected even if DIAG1 is not defined.
8 // DIAG2: error: Only comments are supported after #endif