diff options
author | Gabor Greif <ggreif@gmail.com> | 2007-07-13 22:15:44 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2007-07-13 22:15:44 +0000 |
commit | bacfa02138dce5e380bca924b2c9c40bf7959aab (patch) | |
tree | e9c8eb32d499db09bac770bc4f831d30da3f182f | |
parent | a7674d8a9a69f3f6fe16e70cf2a3b2b15fb7c43d (diff) |
a simple _Complex testcase
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39836 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/complex.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c new file mode 100644 index 0000000000..001d148bc5 --- /dev/null +++ b/test/CodeGen/complex.c @@ -0,0 +1,10 @@ +// RUN: clang -emit-llvm %s +// XFAIL: * + +void main(void) +{ + double _Complex a = 5; + double _Complex b = 42; + + return a * b == 123; +} |