You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
This commit is contained in:
parent
37fbf886a3
commit
e19d552987
10
external/llvm/test/TableGen/cast-list-initializer.td
vendored
Normal file
10
external/llvm/test/TableGen/cast-list-initializer.td
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
|
||||
class Foo<bits<8> b> {
|
||||
// CHECK: list<int> ListOfInts = [170];
|
||||
// CHECK: list<int> AnotherList = [170, 7];
|
||||
list<int> ListOfInts = [!cast<int>(b)];
|
||||
list<int> AnotherList = [!cast<int>(b), !cast<int>({1, 1, 1})];
|
||||
}
|
||||
|
||||
def : Foo<{1, 0, 1, 0, 1, 0, 1, 0}>;
|
Reference in New Issue
Block a user