diff options
Diffstat (limited to 'content/constants/exercise3.go')
-rw-r--r-- | content/constants/exercise3.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/content/constants/exercise3.go b/content/constants/exercise3.go new file mode 100644 index 0000000..dbe7595 --- /dev/null +++ b/content/constants/exercise3.go @@ -0,0 +1,12 @@ +// +build OMIT + +package main + +func main() { + // START OMIT + var u uint + var v = -1 + u = uint(v) + // STOP OMIT + _ = u +} |