mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-06 19:31:13 +00:00
new testcase for previously unsupported unary complex operators
llvm-svn: 21199
This commit is contained in:
parent
f5cedbc812
commit
3b6521c882
6
test/Regression/CFrontend/2005-04-09-ComplexOps.c
Normal file
6
test/Regression/CFrontend/2005-04-09-ComplexOps.c
Normal file
@ -0,0 +1,6 @@
|
||||
// %llvmgcc %s -S -o -
|
||||
|
||||
#include <math.h>
|
||||
#define I 1.0iF
|
||||
|
||||
double __complex test(double X) { return -(X*I); }
|
Loading…
Reference in New Issue
Block a user