☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
unary-real-imag.cpp
☽
☼
clang/test/SemaCXX/unary-real-imag.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
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}}
6