1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/TableGen/prep-ifndef-diag-1.td
Tim Northover 865845db70 TableGen: support #ifndef in addition to #ifdef.
TableGen has a limited preprocessor, which only really supports
easier.

llvm-svn: 360670
2019-05-14 13:04:25 +00:00

5 lines
109 B
TableGen

// RUN: not llvm-tblgen %s 2>&1 | FileCheck %s
// CHECK: error: Expected macro name after #ifndef
#ifndef 1