summaryrefslogtreecommitdiff
path: root/test/LinkerScript/linker-script-outputformat.test
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-03-24 21:31:36 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-03-24 21:31:36 +0000
commitfb911942f1434f3d1750f83f25f5e42c80e60638 (patch)
tree1678c4a4f0182e4029a86d135aa4a1b7d09e3c41 /test/LinkerScript/linker-script-outputformat.test
Notes
Diffstat (limited to 'test/LinkerScript/linker-script-outputformat.test')
-rw-r--r--test/LinkerScript/linker-script-outputformat.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/LinkerScript/linker-script-outputformat.test b/test/LinkerScript/linker-script-outputformat.test
new file mode 100644
index 000000000000..b47bb38ad8d8
--- /dev/null
+++ b/test/LinkerScript/linker-script-outputformat.test
@@ -0,0 +1,12 @@
+/* RUN: linker-script-test %s | FileCheck %s
+*/
+
+OUTPUT_FORMAT(elf64-x86-64)
+
+/*
+CHECK: kw_output_format: OUTPUT_FORMAT
+CHECK: l_paren: (
+CHECK: identifier: elf64-x86-64
+CHECK: r_paren: )
+CHECK: OUTPUT_FORMAT("elf64-x86-64")
+*/