diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-30 19:34:41 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-30 19:34:41 +0200 |
| commit | 664ef9a3e1016e80fc1fcbbef6e9f66a2ededfe6 (patch) | |
| tree | 3f5829d9ad2ada25336f3bf98b85a65ec517c22e /pkg/compiler/testdata/consts.txt | |
| parent | 9054fae0162950c1fd961819f64b1ac90e5930b3 (diff) | |
pkg/compiler: check for unused declarations
Error on unused structs/unions/resources/flags.
Finds tons of bugs.
Diffstat (limited to 'pkg/compiler/testdata/consts.txt')
| -rw-r--r-- | pkg/compiler/testdata/consts.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/compiler/testdata/consts.txt b/pkg/compiler/testdata/consts.txt index f7c8daa35..ef248a1e0 100644 --- a/pkg/compiler/testdata/consts.txt +++ b/pkg/compiler/testdata/consts.txt @@ -35,3 +35,6 @@ foo$1(a ptr[in, templ1[CONST20]]) str2 { f1 int8 } [size[CONST21]] + +_ = CONST22, CONST23 +_ = CONST24 |
