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