You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
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