mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
new testcase for previously unsupported unary complex operators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27499e3f1b
commit
d2b0e710d6
6
test/CFrontend/2005-04-09-ComplexOps.c
Normal file
6
test/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