aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-31 21:53:01 +0000
committerChris Lattner <sabre@nondot.org>2006-03-31 21:53:01 +0000
commitfd2ae97ac3f317523a93d9037a8fe0ea6800eaca (patch)
tree47d0c26ec811950244e174ad0c164740e2ff72c4 /test/TableGen
parent4b1734f70b86e05bfa5b21ace3478d837e723431 (diff)
downloadexternal_llvm-fd2ae97ac3f317523a93d9037a8fe0ea6800eaca.zip
external_llvm-fd2ae97ac3f317523a93d9037a8fe0ea6800eaca.tar.gz
external_llvm-fd2ae97ac3f317523a93d9037a8fe0ea6800eaca.tar.bz2
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
-rw-r--r--test/TableGen/strconcat.td7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/TableGen/strconcat.td b/test/TableGen/strconcat.td
new file mode 100644
index 0000000..cdf3928
--- /dev/null
+++ b/test/TableGen/strconcat.td
@@ -0,0 +1,7 @@
+// RUN: tblgen %s | grep fufoo
+
+class Y<string S> {
+ string T = !strconcat(S, "foo");
+}
+
+def Z : Y<"fu">;