You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
24
external/llvm/test/TableGen/strconcat.td
vendored
24
external/llvm/test/TableGen/strconcat.td
vendored
@ -1,24 +0,0 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
|
||||
// CHECK: class Y<string Y:S = ?> {
|
||||
// CHECK: string T = !strconcat(Y:S, "foo");
|
||||
// CHECK: string T2 = !strconcat(Y:S, !strconcat("foo", !strconcat(Y:S, "bar")));
|
||||
// CHECK: string S = "foobar";
|
||||
// CHECK: }
|
||||
|
||||
// CHECK: def Z {
|
||||
// CHECK: string T = "fufoo";
|
||||
// CHECK: string T2 = "fufoofubar";
|
||||
// CHECK: string S = "foobar";
|
||||
// CHECK: }
|
||||
|
||||
class Y<string S> {
|
||||
string T = !strconcat(S, "foo");
|
||||
// More than two arguments is equivalent to nested calls
|
||||
string T2 = !strconcat(S, "foo", S, "bar");
|
||||
|
||||
// String values concatenate lexically, as in C.
|
||||
string S = "foo" "bar";
|
||||
}
|
||||
|
||||
def Z : Y<"fu">;
|
Reference in New Issue
Block a user