From 70240a84c77a5fdbb5446cd163ad4c4e429a3268 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 18 Mar 2009 17:16:30 +0000 Subject: [PATCH] remove two xfailed tests. These aren't doing any good for us until serialization is revisited. llvm-svn: 67213 --- clang/test/Serialization/complex.c | 50 --------------------------- clang/test/Serialization/stmt_exprs.c | 13 ------- 2 files changed, 63 deletions(-) delete mode 100644 clang/test/Serialization/complex.c delete mode 100644 clang/test/Serialization/stmt_exprs.c diff --git a/clang/test/Serialization/complex.c b/clang/test/Serialization/complex.c deleted file mode 100644 index 6fef88b74e30..000000000000 --- a/clang/test/Serialization/complex.c +++ /dev/null @@ -1,50 +0,0 @@ -// XFAIL -// RUN: false -// 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; -} - diff --git a/clang/test/Serialization/stmt_exprs.c b/clang/test/Serialization/stmt_exprs.c deleted file mode 100644 index 9bb3d7372898..000000000000 --- a/clang/test/Serialization/stmt_exprs.c +++ /dev/null @@ -1,13 +0,0 @@ -// XFAIL -// RUN: false -// clang %s --test-pickling 2>&1 | grep -q 'SUCCESS' -typedef unsigned __uint32_t; - -#define __byte_swap_int_var(x) \ -__extension__ ({ register __uint32_t __X = (x); \ - __asm ("bswap %0" : "+r" (__X)); \ - __X; }) - -int test(int _x) { - return (__byte_swap_int_var(_x)); -}