llvm.org GIT mirror llvm / f187bab
add test for mdef in a let git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30886 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 8 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
None // RUN: tblgen %s
0 // RUN: tblgen %s &&
1 // RUN: tblgen %s | grep 'zing = 4' | wc -l | grep 2
2
13 class C1 {
24 int bar = A;
35 string thestr = B;
6 int zing;
47 }
58
69 def T : C1<4, "blah">;
1619 defm FOO : t<42>;
1720
1821 def T4 : C1<6, "foo">;
22
23 let zing = 4 in
24 defm BAZ : t<3>;
25