Files
llvm/test/TableGen/prep-ifndef-diag-2.td
Tim Northover f19a9097c6 TableGen: support #ifndef in addition to #ifdef.
TableGen has a limited preprocessor, which only really supports
easier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360670 91177308-0d34-0410-b5e6-96231b3b80d8
2019-05-14 13:04:25 +00:00

5 lines
129 B
TableGen

// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
// CHECK: error: Only comments are supported after #ifndef NAME
#ifndef MACRO 42