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