llvm-mirror/test/TableGen/strconcat.td

11 lines
185 B
TableGen
Raw Normal View History

2006-03-31 21:53:01 +00:00
// 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";
2006-03-31 21:53:01 +00:00
}
def Z : Y<"fu">;