blob: 50dabab4748e978d3e860ad7ea7fa8f99d36e0e2 [file] [log] [blame]
/* PR 55383 */
/* { dg-do compile } */
/* { dg-options "-Wcast-qual" } */
void set(void*);
int foo(int argc)
{
volatile double val;
set((void*)&val); /* { dg-warning "cast discards .volatile. qualifier" } */
}