| 1 |
// Copyright 2020 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
// Test that a PE rsrc section is handled correctly (issue 39658). |
| 6 |
// |
| 7 |
// rsrc.syso is created using binutils with: |
| 8 |
// {x86_64,i686}-w64-mingw32-windres -i a.rc -o rsrc_$GOARCH.syso -O coff |
| 9 |
// where a.rc is a text file with the following content: |
| 10 |
// |
| 11 |
// resname RCDATA { |
| 12 |
// "Hello Gophers!\0", |
| 13 |
// "This is a test.\0", |
| 14 |
// } |
| 15 |
|
| 16 |
package main |
| 17 |
|
| 18 |
func main() {} |