repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC
/
2005-04-09-ComplexOps.c
blob
2962b74553447d153e65c7aa1449df945f9909a2
1
// RUN: %llvmgcc %s -S -o -
2
3
#include <math.h>
4
#define I 1.0iF
5
6
double
__complex
test
(
double
X
) {
return
~-(
X
*
I
); }
7
8
_Bool
EQ
(
double
__complex A
,
double
__complex B
) {
return
A
==
B
; }
9
_Bool
NE
(
double
__complex A
,
double
__complex B
) {
return
A
!=
B
; }