spec: move decl in example closer to use
spec: move decl in example closer to use

Fixes issue 5862.

R=r
CC=golang-dev
https://codereview.appspot.com/11168043

firebitsbr/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang,wesolows/golang-old,wesolows/golang-old,wesolows/golang-old,wesolows/golang,wesolows/golang-old,wesolows/golang-old,wesolows/golang,wesolows/golang,firebitsbr/golang-old,wesolows/golang,wesolows/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,wesolows/golang,firebitsbr/golang-old,wesolows/golang,firebitsbr/golang-old