llvm-6502/test/TableGen/strconcat.td
Bill Wendling b4be7f6b04 FileCheckize some tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189060 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-22 20:46:05 +00:00

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">;