Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
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
();
}