-Wcast-qual not working

Hi,

Does Clang support the warning flag -Wcast-qual? I have the following program,

$: cat t.c
int * f (const int*a) {
return (int *)a;
}

$: clang-trunk -Weverything -c t.c
t.c:1:7: warning: no previous prototype for function ‘f’ [-Wmissing-prototypes]
int * f (const int*a) {
^
1 warning generated.
$:
$: gcc-trunk -Wcast-qual -c t.c
t.c: In function ‘f’:
t.c:2:10: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
return (int *)a;
^