summaryrefslogtreecommitdiff
path: root/test/TableGen/strconcat.td
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/strconcat.td
parent4b1734f70b86e05bfa5b21ace3478d837e723431 (diff)
downloadllvm-fd2ae97ac3f317523a93d9037a8fe0ea6800eaca.tar.gz
llvm-fd2ae97ac3f317523a93d9037a8fe0ea6800eaca.tar.bz2
llvm-fd2ae97ac3f317523a93d9037a8fe0ea6800eaca.tar.xz
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen/strconcat.td')
-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 0000000000..cdf3928f04
--- /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">;