__real__/__imag__ discard qualifiers

AMDG

Clang accepts the attached test case with

clang -cc1 -fsyntax-only test.cpp

It should be an error.

In Christ,
Steven Watanabe

test.cpp (69 Bytes)

In general, please file bug reports at llvm.org/bugs/ .

-Eli