YouCompleteMe/cpp/llvm/test/TableGen/strconcat.td

12 lines
208 B
TableGen
Raw Normal View History

2012-07-05 20:51:06 -04:00
// RUN: llvm-tblgen %s | grep fufoo
// XFAIL: vg_leak
class Y<string S> {
string T = !strconcat(S, "foo");
// String values concatenate lexically, as in C.
string S = "foo" "bar";
}
def Z : Y<"fu">;