repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
2008-09-03-WeakAlias.c
blob
2e5f3dae8a00f78b75857c64669133be03931b80
1
// RUN: %llvmgcc -S -O1 -o - %s | grep icmp
2
// PR1678
3
extern
void
B
(
void
);
4
static
__typeof
(
B
)
A
__attribute__
((
__weakref__
(
"B"
)));
5
int
active
(
void
)
6
{
7
static void
*
const
p
=
__extension__
(
void
*) &
A
;
8
return
p
!=
0
;
9
}