diff options
Diffstat (limited to 'clang/test/Serialization/complex.c')
-rw-r--r-- | clang/test/Serialization/complex.c | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/clang/test/Serialization/complex.c b/clang/test/Serialization/complex.c deleted file mode 100644 index f622264..0000000 --- a/clang/test/Serialization/complex.c +++ /dev/null @@ -1,48 +0,0 @@ -// RUN: clang %s --test-pickling 2>&1 | grep -q 'SUCCESS' - -int main(void) -{ - double _Complex a = 5; - double _Complex b = 42; - - return a * b != b * a; -} - -_Complex double bar(int); -void test(_Complex double*); -void takecomplex(_Complex double); - -void test2(int c) { - _Complex double X; - X = bar(1); - test(&X); - takecomplex(X); -} - -_Complex double g1, g2; -_Complex float cf; -double D; - -void test3() { - g1 = g1 + g2; - g1 = g1 - g2; - g1 = g1 * g2; - g1 = +-~g1; - - double Gr = __real g1; - - cf += D; - D += cf; - cf /= g1; - g1 = g1 + D; - g1 = D + g1; -} - -void t1() { - (__real__ cf) = 4.0; -} - -void t2() { - (__imag__ cf) = 4.0; -} - |