repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr41551.c
blob
2f2ad2be97e19f0089080b760c04e9f19e1edb47
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
/* Make sure we do not ICE. */
5
6
__extension__
typedef
__UINTPTR_TYPE__
uintptr_t
;
7
8
int
main
(
void
)
9
{
10
int
var
, *
p
= &
var
;
11
return
(
double
)(
uintptr_t
)(
p
);
12
}