Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
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
();
}