summaryrefslogtreecommitdiff
path: root/libgo/misc/cgo/test/issue4273.c
blob: cac98768dea9c8554fbe5a73c5a2aeed2726955d (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#ifdef __ELF__
__attribute__((weak))
__attribute__((visibility("hidden")))
void _compilerrt_abort_impl(const char *file, int line, const char *func) {
}
#endif