2006-04-01 05:53:01 +08:00
|
|
|
// RUN: tblgen %s | grep fufoo
|
|
|
|
|
|
|
|
class Y<string S> {
|
|
|
|
string T = !strconcat(S, "foo");
|
2009-03-12 01:08:13 +08:00
|
|
|
|
|
|
|
// String values concatenate lexically, as in C.
|
|
|
|
string S = "foo" "bar";
|
2006-04-01 05:53:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
def Z : Y<"fu">;
|