projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test for something more interesting than not crashing
[oota-llvm.git]
/
test
/
CFrontend
/
2005-04-09-ComplexOps.c
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; }