Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.apple
/
kext-weak.C
blob: 488fec04baa9317f6cbc27593f6863dd9fc9c9cc [
file
] [
log
] [
blame
]
/* APPLE LOCAL kext weak_import 5935650 */
/* { dg-do assemble { target i?86*-*-darwin* } } */
/* { dg-options "-mkernel -m64" } */
extern
void
foo
()
__attribute__
((
weak_import
));
void
test
()
{
if
(
foo
)
foo
();
}