llvm.org GIT mirror llvm / release_34 test / TableGen / strconcat.td
release_34

Tree @release_34 (Download .tar.gz)

strconcat.td @release_34raw · history · blame

// 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">;