10 lines · plain
1// RUN: not llvm-tblgen %s -DMACRO=1 2>&1 | FileCheck %s --check-prefix=CHECK-TEST-12// RUN: not llvm-tblgen %s -D0MAC 2>&1 | FileCheck %s --check-prefix=CHECK-TEST-23// RUN: not llvm-tblgen %s -D_MAC# 2>&1 | FileCheck %s --check-prefix=CHECK-TEST-34// RUN: not llvm-tblgen %s -D 2>&1 | FileCheck %s --check-prefix=CHECK-TEST-45 6// CHECK-TEST-1: error: invalid macro name `MACRO=1` specified on command line7// CHECK-TEST-2: error: invalid macro name `0MAC` specified on command line8// CHECK-TEST-3: error: invalid macro name `_MAC#` specified on command line9// CHECK-TEST-4: for the -D option: requires a value!10