llvm-65816/test/TableGen/strconcat.td

13 lines
209 B
TableGen

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