diff options
Diffstat (limited to 'misc/cgo/errors/testdata/err1.go')
| -rw-r--r-- | misc/cgo/errors/testdata/err1.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/cgo/errors/testdata/err1.go b/misc/cgo/errors/testdata/err1.go index 2c232cf58a..ced7443599 100644 --- a/misc/cgo/errors/testdata/err1.go +++ b/misc/cgo/errors/testdata/err1.go @@ -10,6 +10,10 @@ package main void test() { xxx; // ERROR HERE } + +// Issue 8442. Cgo output unhelpful error messages for +// invalid C preambles. +void issue8442foo(UNDEF*); // ERROR HERE */ import "C" |
