libgo/misc/cgo/test/issue4273b.c
raw| 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 | extern void _compilerrt_abort_impl(const char *file, int line, const char *func); |
| 7 | |
| 8 | void __my_abort(const char *file, int line, const char *func) { |
| 9 | _compilerrt_abort_impl(file, line, func); |
| 10 | } |
| 11 | #endif |