You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
324 B
24 lines
324 B
// RUN: llvm-tblgen %s | FileCheck %s
|
|
// XFAIL: vg_leak
|
|
|
|
// CHECK: --- Defs ---
|
|
|
|
// CHECK: def A1 {
|
|
// CHECK: string value = ?;
|
|
// CHECK: }
|
|
|
|
// CHECK: def B1 {
|
|
// CHECK: string value = A1.value;
|
|
// CHECK: }
|
|
|
|
class A {
|
|
string value = ?;
|
|
}
|
|
|
|
class B<A impl> : A {
|
|
let value = impl.value;
|
|
}
|
|
|
|
def A1 : A;
|
|
def B1 : B<A1>;
|