forked from OSchip/llvm-project
new testcase for previously unsupported unary complex operators
llvm-svn: 21199
This commit is contained in:
parent
6566e8ac06
commit
38b1ae75fc
|
@ -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