diff options
Diffstat (limited to 'test/TableGen/strconcat.td')
-rw-r--r-- | test/TableGen/strconcat.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/TableGen/strconcat.td b/test/TableGen/strconcat.td new file mode 100644 index 0000000..fc0d805 --- /dev/null +++ b/test/TableGen/strconcat.td @@ -0,0 +1,10 @@ +// RUN: tblgen %s | grep fufoo + +class Y<string S> { + string T = !strconcat(S, "foo"); + + // String values concatenate lexically, as in C. + string S = "foo" "bar"; +} + +def Z : Y<"fu">; |