1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/TableGen/strconcat.td

13 lines
209 B
TableGen
Raw Normal View History

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