github.com/golang/gofrontend@v0.0.0-20240429183944-60f985a78526/libgo/misc/cgo/test/issue4273.c (about)

     1  // Copyright 2012 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  #ifdef __ELF__
     6  __attribute__((weak))
     7  __attribute__((visibility("hidden")))
     8  void _compilerrt_abort_impl(const char *file, int line, const char *func) {
     9  }
    10  #endif