[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / unary-real-imag.cpp
blob91b63e37b9a43a88547604db0d97eb82654854dd
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 struct A {};
4 int i = __real__ A(); // expected-error {{invalid type 'A' to __real operator}}
5 int j = __imag__ A(); // expected-error {{invalid type 'A' to __imag operator}}