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
builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wcxx-compat-1.c
blob
91500421e852d8c23b622a3c8163cdfde4615b1d
1
/* PR c/21759 */
2
/* { dg-options "-Wc++-compat" } */
3
4
int
5
main
(
void
)
6
{
7
void
*
p
=
0
;
8
int
*
q
=
p
;
/* { dg-warning "not permitted" } */
9
double
*
t
= (
void
*)
0
;
10
return
p
!=
q
;
11
}