repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git]
/
llvm
/
test
/
TableGen
/
FieldAccess.td
blob
2427781c14f052e7f095e0805dfd367072b45e2c
1
// RUN: llvm-tblgen %s | FileCheck %s
2
// XFAIL: vg_leak
3
4
// CHECK: --- Defs ---
5
6
// CHECK: def a {
7
// CHECK: string blu = "";
8
// CHECK: }
9
10
// CHECK: def b {
11
// CHECK: string blu = "";
12
// CHECK: }
13
14
// CHECK: def c {
15
// CHECK: string blu = "";
16
// CHECK: }
17
18
class Bla<string t>
19
{
20
string blu = t;
21
}
22
23
class Bli<Bla t>
24
{
25
Bla bla = t;
26
}
27
28
def a : Bli<Bla<"">>;
29
def b : Bla<!cast<Bla>(a.bla).blu>;
30
def c : Bla<a.bla.blu>;