github.com/google/capslock@v0.2.3-0.20240517042941-dac19fc347c0/testpkgs/useasm/useasm.go (about)

     1  // Copyright 2023 Google LLC
     2  //
     3  // Use of this source code is governed by a BSD-style
     4  // license that can be found in the LICENSE file or at
     5  // https://developers.google.com/open-source/licenses/bsd
     6  
     7  // Package useasm is for testing analysis of packages that include .s files.
     8  package useasm
     9  
    10  func bar(x int) int
    11  
    12  // Foo calls an assembly function.
    13  func Foo() int {
    14  	return bar(1)
    15  }