aboutsummaryrefslogtreecommitdiffstats
path: root/test/TableGen/strconcat.td
blob: 85ee831b4dae6cc918bb1a4449f3e134ccb5f404 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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">;