llvm-project/llvm/test/TableGen/strconcat.td

13 lines
209 B
TableGen
Raw Normal View History

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