~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to test/import4.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-20 14:06:23 UTC
  • mfrom: (14.1.23 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130820140623-b414jfxi3m0qkmrq
Tags: 2:1.1.2-2ubuntu1
* Merge from Debian unstable (LP: #1211749, #1202027). Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - d/control,control.cross: Update Breaks/Replaces for Ubuntu
    versions to ensure smooth upgrades, regenerate control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $G $D/empty.go && errchk $G $D/$F.go
 
1
// errorcheckdir
2
2
 
3
3
// Copyright 2009 The Go Authors. All rights reserved.
4
4
// Use of this source code is governed by a BSD-style
8
8
// errors are caught by the compiler.
9
9
// Does not compile.
10
10
 
11
 
package main
12
 
 
13
 
// standard
14
 
import "fmt"    // ERROR "imported and not used.*fmt"
15
 
 
16
 
// renamed
17
 
import X "math" // ERROR "imported and not used.*math"
18
 
 
19
 
// import dot
20
 
import . "bufio"        // ERROR "imported and not used.*bufio"
21
 
 
22
 
// again, package without anything in it
23
 
import "./empty"        // ERROR "imported and not used.*empty"
24
 
import Z "./empty"      // ERROR "imported and not used.*empty"
25
 
import . "./empty"      // ERROR "imported and not used.*empty"
26
 
 
 
11
package ignored