From 4074aed7c0c28afc7d4a3522045196c3f39b5208 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 27 Aug 2017 19:55:14 +0200 Subject: pkg/compiler: more static error checking Update #217 --- pkg/compiler/testdata/consts_errors.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pkg/compiler/testdata/consts_errors.txt (limited to 'pkg/compiler/testdata/consts_errors.txt') diff --git a/pkg/compiler/testdata/consts_errors.txt b/pkg/compiler/testdata/consts_errors.txt new file mode 100644 index 000000000..4771777ec --- /dev/null +++ b/pkg/compiler/testdata/consts_errors.txt @@ -0,0 +1,10 @@ +# 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. + +include +incdir +include ### duplicate include "foo/bar.h" +incdir ### duplicate incdir "/foo" + +define D0 0 +define D0 1 ### duplicate define D0 -- cgit mrf-deployment