repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve compatibility with older versions of Windows.
[llvm/msp430.git]
/
test
/
FrontendC
/
2007-09-17-WeakRef.c
blob
3cdd47e4e08241b997129e77a8c790bb5ebf186e
1
// RUN: %llvmgcc -O1 -S %s -o - | grep icmp
2
// PR1678
3
// XFAIL: llvmgcc4.0.1
4
extern
void
B
(
void
);
5
static
__typeof
(
B
)
A
__attribute__
((
__weakref__
(
"B"
)));
6
int
active
(
void
)
7
{
8
static void
*
const
p
=
__extension__
(
void
*) &
A
;
9
return
p
!=
0
;
10
}