Files
archived-llvm/test/TableGen/prep-diag11.td
Vyacheslav Zakharin 6c99d2be10 [TableGen] Preprocessing support
Differential Revision: https://reviews.llvm.org/D54926



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347686 91177308-0d34-0410-b5e6-96231b3b80d8
2018-11-27 18:57:43 +00:00

9 lines
236 B
TableGen

// RUN: not llvm-tblgen -I %p %s 2>&1 | FileCheck %s
// CHECK: error: Reached EOF without matching #endif
// CHECK: error: The latest preprocessor control is here
#ifdef DISABLED
#else
#define ENABLED
include "prep-diag11-include.inc"