| 1 | package issue50 |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | "testing/quick" |
| 6 | ) |
| 7 | |
| 8 | //go:generate go run asm.go -out issue50.s -stubs stub.go |
| 9 | |
| 10 | func TestIssue50(t *testing.T) { |
| 11 | expect := func(x uint32) uint32 { return x } |
| 12 | if err := quick.CheckEqual(Issue50, expect, nil); err != nil { |
| 13 | t.Fatal(err) |
| 14 | } |
| 15 | } |