diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-04 19:52:51 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-04 20:25:22 +0200 |
| commit | 8c64b078d1c954972b9f0132a753cdcec1b80d9b (patch) | |
| tree | f6213a794bf72ccb3e38f6892d7fb229b2b78414 /pkg/compiler/testdata/recursion.txt | |
| parent | b06c1bd324d3aff0f132381727c85940bcf93b2f (diff) | |
pkg/compiler: detect resources without ctors
Fixes #217
Diffstat (limited to 'pkg/compiler/testdata/recursion.txt')
| -rw-r--r-- | pkg/compiler/testdata/recursion.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pkg/compiler/testdata/recursion.txt b/pkg/compiler/testdata/recursion.txt deleted file mode 100644 index 683049b91..000000000 --- a/pkg/compiler/testdata/recursion.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2017 syzkaller project authors. All rights reserved. -# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -resource r6[r6] ### recursive resource r6->r6 -resource r7[r8] ### recursive resource r7->r8->r7 -resource r8[r7] ### recursive resource r8->r7->r8 - -sr1 { - f1 sr1 ### recursive declaration: sr1.f1 -> sr1 (mark some pointers as opt) -} - -sr2 { - f1 sr3 - f2 sr4 -} - -sr3 { - f1 ptr[in, sr3] ### recursive declaration: sr3.f1 -> sr3 (mark some pointers as opt) -} - -sr4 { - f1 ptr[in, sr3] - f2 array[ptr[in, sr5], 4] ### recursive declaration: sr4.f2 -> sr5.f2 -> sr6.f1 -> sr4 (mark some pointers as opt) -} - -sr5 [ - f1 int32 - f2 sr6 -] - -sr6 { - f1 sr4 -} - -sr7 { - f1 ptr[in, sr7, opt] -} |
