aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/strconcat.td
diff options
context:
space:
mode:
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 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">;