1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
llvm-mirror/test/TableGen/strconcat.td

11 lines
190 B
TableGen
Raw Normal View History

// RUN: llvm-tblgen %s | grep fufoo
2006-03-31 21:53:01 +00:00
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">;