aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/compiler/testdata/consts_errors.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-27 19:55:14 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-27 20:19:41 +0200
commit4074aed7c0c28afc7d4a3522045196c3f39b5208 (patch)
tree8d2c2ce5f6767f8f4355e37e262f85223ee362e3 /pkg/compiler/testdata/consts_errors.txt
parent58579664687b203ff34fad8aa02bf470ef0bc981 (diff)
pkg/compiler: more static error checking
Update #217
Diffstat (limited to 'pkg/compiler/testdata/consts_errors.txt')
-rw-r--r--pkg/compiler/testdata/consts_errors.txt10
1 files changed, 10 insertions, 0 deletions
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 <foo/bar.h>
+incdir </foo>
+include <foo/bar.h> ### duplicate include "foo/bar.h"
+incdir </foo> ### duplicate incdir "/foo"
+
+define D0 0
+define D0 1 ### duplicate define D0