Source file test/fixedbugs/bug160.dir/y.go

     1  // Copyright 2009 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  package main
     6  
     7  import "os"
     8  import "./x"
     9  
    10  func main() {
    11  	if x.Zero != 0 {
    12  		println("x.Zero = ", x.Zero);
    13  		os.Exit(1);
    14  	}
    15  	if x.Ten != 10 {
    16  		println("x.Ten = ", x.Ten);
    17  		os.Exit(1);
    18  	}
    19  }
    20  

View as plain text