aboutsummaryrefslogtreecommitdiff
path: root/test/TableGen/strconcat.td
blob: 0173c49365cce29f3def4981352bbf4cb2064374 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: llvm-tblgen %s | grep 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">;