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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cast-qual-3.c
blob
50dabab4748e978d3e860ad7ea7fa8f99d36e0e2
1
/* PR 55383 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wcast-qual" } */
4
5
void
set
(
void
*);
6
7
int
foo
(
int
argc
)
8
{
9
volatile
double
val
;
10
set
((
void
*)&
val
);
/* { dg-warning "cast discards .volatile. qualifier" } */
11
}