llvm/test/TableGen/strconcat.td
2009-03-11 17:08:13 +00:00

11 lines
185 B
TableGen

// 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">;