view test/TableGen/strconcat.td @ 3:9ad51c7bc036

1st commit. remove git dir and add all files.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 May 2013 06:43:32 +0900
parents
children
line wrap: on
line source

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