projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c/55383 (-Wcast-qual reports incorrect message)
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
cast-qual-3.c
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
}