summaryrefslogtreecommitdiffstats
path: root/llvm/test/LLVMC/EmptyCompilationGraph.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/LLVMC/EmptyCompilationGraph.td')
-rw-r--r--llvm/test/LLVMC/EmptyCompilationGraph.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/LLVMC/EmptyCompilationGraph.td b/llvm/test/LLVMC/EmptyCompilationGraph.td
new file mode 100644
index 00000000000..f4a304730c5
--- /dev/null
+++ b/llvm/test/LLVMC/EmptyCompilationGraph.td
@@ -0,0 +1,6 @@
+// Check that the compilation graph can be empty.
+// RUN: tblgen -I $srcroot/include --gen-llvmc %s
+
+include "llvm/CompilerDriver/Common.td"
+
+def Graph : CompilationGraph<[]>;
OpenPOWER on IntegriCloud